Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi,
I create a measure as following:
Now I want to sort Sub-Category. So I add a index column in the Dim Sub-Category table, and sort Sub-Category by index.
But as you can see, the result of the measure I created changed.. which is not what I want..
Thanks a lot for your time.
Solved! Go to Solution.
try
Total_red_incluBLANK =
CALCULATE(SUM(MU_red[Sales]),ALL('Sub-Category'[Sub-Category], 'Sub-Category'[Index]))
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 36 | |
| 31 | |
| 29 | |
| 26 |