Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi,
I created this measure shown below that returns a table with correct row values:
But the aggregate total -3036.53 is not correct and correct total we need is -1145.19.
Could you please help me as what needs to be corrected in the above measure for the correct total?
PFA file here Portfolio Performance - v2.12 - Copy (2).pbix
Thanks in advance!
@Ahmedx @Greg_Deckler @marcorusso @amitchandak @v-jianpeng-msft
Solved! Go to Solution.
Try it using TOPN instead.
Budget Carbon Variance Bottom 20 v2 =
VAR _TopN = TOPN(10,ALL(Contacts[Name]),[Budget Carbon Variance],ASC)
RETURN
CALCULATE([Budget Carbon Variance],KEEPFILTERS(_TopN))
pls try this
@sivarajan21 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
Try it using TOPN instead.
Budget Carbon Variance Bottom 20 v2 =
VAR _TopN = TOPN(10,ALL(Contacts[Name]),[Budget Carbon Variance],ASC)
RETURN
CALCULATE([Budget Carbon Variance],KEEPFILTERS(_TopN))
I am unable to download the file, but please refer to these two videos. They should help you understand the context behind the Grand Total issue and its solution.
https://www.youtube.com/watch?v=yw0QHu9V4UQ
https://www.youtube.com/watch?v=ufHOOLdi_jk&app=desktop&ab_channel=Curbal
User | Count |
---|---|
123 | |
69 | |
67 | |
58 | |
52 |
User | Count |
---|---|
183 | |
90 | |
67 | |
62 | |
53 |