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
So I creadted a measure to Rank each ID based on their sales/month by using Rankx.
Now I tried to calculated the difference between each rank? Like Rank2 is 2 less than rank 1, rank 3 is 1 less than rank 2 etc etc?
Thanks in advance
https://learn.microsoft.com/en-us/dax/rankx-function-dax
@Kaii refer to the above documentation. Hope it helps.
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 |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |