Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
I need to using RANK on a measure I created. I this possible?
Want to RANK my measure: mYTDRevenue
Based on my field: Cost Center (from my BusinessUnit table)
Thanks for any help,
Z
Solved! Go to Solution.
@Anonymous
It Could be something like this
RANK MEASURE= RANKX ( ALLSELECTED ( BusinessUnit[Cost Center] ), [mYTDRevenue],, DESC, DENSE )
Maybe, can you provide a sample of source data, calculations for your measures and expected output?
Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Thanks for replying Greg, much appreciated. I will try to get that - it is hard with the proprietary data / model.
In the meantime can you tell me if it should at least be possible to use Rank based on a measure.
Z
@Anonymous
It Could be something like this
RANK MEASURE= RANKX ( ALLSELECTED ( BusinessUnit[Cost Center] ), [mYTDRevenue],, DESC, DENSE )
Thanks!
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 21 | |
| 18 | |
| 13 |
| User | Count |
|---|---|
| 69 | |
| 56 | |
| 45 | |
| 42 | |
| 30 |