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
Good morning all,
I ask for your help with a measure.
I have a dataset with the following columns:
I would like to create an index based on the values of a sensor. The sensor values should be sorted in descending order. I managed to create the index with the RANKX function like in the following picture:
But unfortunately several sensor values are repeated and the index does not continue to increase. Clearly, I would like to do as in this Excel:
Thank you in advance for your help,
Have a good day
Joel
Please see this video for an explanation of how to do a multi-column RANKX.
RANKX on multiple columns with DAX and Power BI - SQLBI
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
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 |
|---|---|
| 20 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 19 | |
| 12 | |
| 11 |