The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello everyone!
I am having some trouble calculating the sum total of a calculated measure in a table.
I need to do this action:
(the absolute difference between baseline and historic column)
And then, sum out the total calculated column:
The result has to be 44,308.55
But in power BI, it calculates the absolute difference between the total sums of the columns.
Hope someone can help me!!!
Please try using SUMX to get the correct total. It references your existing measure but should give you the correct result both in your rows and your total.
NewMeasure = SUMX(VALUES(Table[Origin Site]), [Abs Difference])
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
User | Count |
---|---|
15 | |
12 | |
7 | |
6 | |
5 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |