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
need DAX for below index column
no need Power query solution and RANKX function.
Order of countrty should not change
| Country | Index |
| Canada | 1 |
| France | 2 |
| Germany | 3 |
| USA | 4 |
| Bermuda | 5 |
Hi @vj123456 ,
The best way is to use rankx() function or power query to create index column, or it is complex to realize it.
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |