Forum Discussion
Metric Sum/Total does not add up correctly
Hi!
Having some issues with a metric that does not add up/sum up corretly in matrix. So I have Region, Client Name, Project Name (in this order) as rows, and the metric is below. On short, if Revenue Type is "Fixed Price", it's supposed to calulate Actual Revenue for Current Month minus Last month, else Actual Revenue for Current Month. It seems to be working only at Project Name level, while for Client Name and Region it bypasses the Revenue Type condition.
Above, 52200 EUR is correct at Project Name level, while 261000 EUR is the correct total for when Revenue Type is skipped.
Any idea what's the reason? Thank you!
niculeica First, please vote for this idea: https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e
This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Also: https://youtu.be/uXRriTN0cfY
And: https://youtu.be/n4TYhF2ARe8
1 Reply
- Greg_Deckler
Community Champion
niculeica First, please vote for this idea: https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e
This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Also: https://youtu.be/uXRriTN0cfY
And: https://youtu.be/n4TYhF2ARe8