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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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.
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
29 | |
18 | |
15 | |
7 | |
6 |