Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I have a problem with the measure. The measure calculates products that are not in the top 20 but in totals it shows 0, so you can not see the data in the column chart
Solved! Go to Solution.
hi, @krzysztof
This looks like a measure totals problem. Very common. See this 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
And for your case, just do some adjust as below:
1.[Top 20] is not a rank measure, It's better to adjust Non-Top 20 measure like this:
Non-Top 20 = IF([Top 20]=BLANK(),SUM('Table 1'[Value]),0)
2. add a measure like below for sum Non-Top 20.
Measure 2 = var _table=SUMMARIZE('Table 1','Table 1'[Name product],"_Value",CALCULATE(SUM('Table 1'[Value]))) return SUMX(_table,[Non-Top 20])
Result:
Best Regards,
Lin
hi, @krzysztof
This looks like a measure totals problem. Very common. See this 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
And for your case, just do some adjust as below:
1.[Top 20] is not a rank measure, It's better to adjust Non-Top 20 measure like this:
Non-Top 20 = IF([Top 20]=BLANK(),SUM('Table 1'[Value]),0)
2. add a measure like below for sum Non-Top 20.
Measure 2 = var _table=SUMMARIZE('Table 1','Table 1'[Name product],"_Value",CALCULATE(SUM('Table 1'[Value]))) return SUMX(_table,[Non-Top 20])
Result:
Best Regards,
Lin
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
90 | |
82 | |
62 | |
61 | |
58 |
User | Count |
---|---|
159 | |
114 | |
100 | |
75 | |
65 |