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
Hi,
I am working on Ranking the table visual rows based on the Redemptions values in Power BI Desktop Report Server. Please help me with a measure to be able to achieve it. Please note RANKX function is not enabled in my Desktop version.
Here is the output I am looking for, doing Row number on zip based on Redemptions count. I appreciate your help. Thank You!
| ZIP | Redemptions | Row Number |
| 336076546 | 30 | 1 |
| 11355 | 28 | 2 |
| 10031 | 24 | 3 |
| 10454 | 22 | 4 |
| 945504200 | 21 | 5 |
Solved! Go to Solution.
@Anonymous
The following DAX works for me. Upgrade the version and make sure it is a measure, not calculated column.
Measure =
RANKX ( ALLSELECTED ( Query1[ZIP] ), CALCULATE ( SUM ( Query1[Redemptions] ) ) )
Hi,
I'll be unable to help without the RANKX.
@Anonymous
The following DAX works for me. Upgrade the version and make sure it is a measure, not calculated column.
Measure =
RANKX ( ALLSELECTED ( Query1[ZIP] ), CALCULATE ( SUM ( Query1[Redemptions] ) ) )
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |