Forum Discussion
Digger
Post Patron
4 years agoWrong totals
I use measure
Payments =
SUMX (
SUMMARIZE ( Table, Table[_Eur_Pay],Table[id], Table[type] ),
Table[_Eur_Pay]
)
-------------------------------------
-------------------------------------
Products =
SUMX (
SUMMARIZE ( Table, Table[_Eur_Prod],Table[id]),
Table[_Eur_Prod]
)
-------------------------------------
Calculated columns formulas
-------------------------------------
Then i export to Excel i got totals
How to debug totals and found what is wrong?
-------------------------------------
_Price_Diff = [Payments]-[_Eur_Prod]
Calculated columns formulas
_Eur_Pay =
IF(
[currency] in {"Eur",""}
,[amount]
,[amount]/[Currency_rate.Payments]
)
_Eur_Prod =
IF(
[order_products.currency] in {"Eur",""}
,[order_products.price]
,[order_products.price]/[Currency_rate.Products]
)
But i getting wrong totals, and Price difference not counting 😕
But i getting wrong totals, and Price difference not counting 😕
Why this **bleep** happenig always in PBI? :////
How to debug totals and found what is wrong?
Please see this video on how to solve this.
(2) Power BI - Tales from the front #01 - Getting the Right Total - YouTube
Pat
1 Reply
- mahoneypat
Microsoft Employee
Please see this video on how to solve this.
(2) Power BI - Tales from the front #01 - Getting the Right Total - YouTube
Pat