Join 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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 65 | |
| 46 | |
| 43 | |
| 26 | |
| 19 |
| User | Count |
|---|---|
| 198 | |
| 126 | |
| 102 | |
| 69 | |
| 53 |