Average Price shows in Invoice Report Pivot shows wrong value.
Attaching Image Please check.
Screenshot
Related
I would much be thankful if someone can help me with this situation.
I have weekly reports of sales by product and store, but these reports are aggregated by year (each report contains sales by year to current date) and I intend to disaggregate the data so I can have the sales of each week of the year in my reports.
Currently I am doing this with an excel formula and I want to pass this to power query / Language M
Here it is the formula in the image
enter image description here
Here is the explanation of the columns
Source.Name.1= The number of the report according to the week
SKU= Product code
Ventas YTD= Sales by year to current date
No.Tienda.number.1= Code of the store
Ventas semana= weekly sales using the excel formula
I currently have a mental block and I would appreciate of you could guide me through the problem
I'm trying to come up with a way to report monthly payments up until the account zeroes out.
The report as it is received:
The report as it should fill in:
Basically each month should report the full month arrear up until the total is reached and the last entry should be the amount remaining until the total is reached.
If your data as shown starts in A2, use the following in E2:
=LET(x,SUM($D2:D2),y,$B2,z,$C2,r,MOD(z,y),IF(x+y<=z,y,IF(x+r=z,r,"")))
I working on migrating from Tableau to PowerBI. But I got stuck for multiple dimension.
I have a category, Budget and Revenue, I want to display a chart like below. But the issue is I cannot click each column to show a detail.
I added 1 axis Category and I want to add one more is Budget and Revenue to show filter for Year and Month.
I attached image. Hope to be help . Thank you so much
I use Power BI to retrieve & visualize sales data from Business Central and so far I did not find any ways to:
retrieve revenue gross on line level (per invoice and item number) of my posted sales invoice
retrieve revenue gross on header level (invoice number) of my posted sales invoice
retrieve VAT on line level (per invoice and item number) of my posted sales invoice, in order to calculate the revenue gross based on the revenue net
Anyone with an easy solution (i m sure there is one as it seems to be a fairly classic request)???
Best and let me know if you need any extra info,
Kevin
There's an 'Amount' and 'Amount Including VAT' column on the Sales Line table, those should give you everything you need.
Annoyingly these are not on the 'Power BI Sales List' query/web service as default, nor the Sales Lines page. If you're a BC developer you could write your own extension to publish a better query.
If not, there is a 'Sales Document Line Entity' page (6403) which includes them as 'Amount' and 'AmountInclVat'. This page is published by default (in SAAS at least) as the 'workflowSalesDocumentLines' web service and you can access it from PowerBI, you will probably want to also include workflowSalesDocuments, the two are related on a composite of Document Type AND DocumentNumber, so that's another challenge for you!
I am having issues translating the following formula to a pivot table; either through a regular pivot table, or through DAX and powerpivot.
=SUMPRODUCT((C$2:C$11)*(D$2:D$11)*(A$2:A$11=A2)*(B$2:B$11=B2))/SUMIFS(D$2:D$11,A$2:A$11,A2,B$2:B$11,B2)
The background is, I have a number of products that appear on an e-commerce site, and I need to find out their price per day. However, these prices change daily, based on things like promo codes, visitor location etc. Therefore, I need their weighted price based on the number of visitors that saw a particular price.
Can anyone help with this translation, or alternatively, offer a better way to approach this problem?
PS- I need it in a pivot table due to the volume of data. At 250,000 rows, standard Excel cannot handle this formula.
The following is in Excel 2010 sans Powerpivot. However, the general approach should work:
Explanation:
I added a column that multiplies the Prices and Visits. The pivot table uses Dates, then Product SKU as the row labels. Then I added a calculated field that divides the Price*Visits by the Visits.