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! It's time to submit your entry. Live now!
Hi All,
In my model, Could I create a measure that having a dynamic ranking list after users choosing the Currency Conversion.
The rank is based on the 'Price'(ASC) of each ID.
Please be noted that the 'Price' itself is already a measure.
Great thanks with your help!
| ID | Price | Rank(measure) |
| 1 | 10 | 4 |
| 1 | 4 | 2 |
| 1 | 8 | 3 |
| 1 | 2 | 1 |
| 2 | 12 | 3 |
| 2 | 6 | 2 |
| 2 | 5 | 1 |
Solved! Go to Solution.
@ngct1112 , if the price is a measure , you need any other column like index or date to get that rank as a measure
Measure rank = rankx(filter(allselected(Table[ID], Table[index]), [ID] = max([ID])), [Price])
Index column in power query
https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi
@ngct1112 , if the price is a measure , you need any other column like index or date to get that rank as a measure
Measure rank = rankx(filter(allselected(Table[ID], Table[index]), [ID] = max([ID])), [Price])
Index column in power query
https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 31 | |
| 24 | |
| 22 |
| User | Count |
|---|---|
| 134 | |
| 111 | |
| 57 | |
| 44 | |
| 38 |