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!
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! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 48 | |
| 35 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 132 | |
| 105 | |
| 59 | |
| 39 | |
| 31 |