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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
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
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 65 | |
| 52 | |
| 42 | |
| 23 | |
| 21 |
| User | Count |
|---|---|
| 137 | |
| 113 | |
| 52 | |
| 37 | |
| 31 |