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 attempting to add a row number to my Table visual
I have a table of Products, Sales Volume & Sales Value and by default it is sorted decending by Sales Volume
I have attempted
Row Number = RANKX(
ALL('My Table'[Product]),SUM('My Table'[Sales Volume]),,DESC,DENSE)
but it retuns 1 for every row
Solved! Go to Solution.
@LUCASM , First use calculate, if you are not using measure, second add other columns in visual
Row Number = RANKX(
ALL('My Table'[Product]),calculate(SUM('My Table'[Sales Volume])),,DESC,DENSE)
Power BI Rank Across dimension tables: https://youtu.be/X59qp5gfQoA
@LUCASM , First use calculate, if you are not using measure, second add other columns in visual
Row Number = RANKX(
ALL('My Table'[Product]),calculate(SUM('My Table'[Sales Volume])),,DESC,DENSE)
Power BI Rank Across dimension tables: https://youtu.be/X59qp5gfQoA
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |