Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi Everyone,
I have a scenario, I have multiple countries each country having multiple States. I need to create serial number column for states in each country. attaching sample data below.
Country | States |
India | AP |
India | Karnataka |
India | Tamilanadu |
India | UP |
USA | Arizona |
USA | Colorado |
USA | Florida |
USA | Montana |
USA | Maine |
Attaching expected out put.
Country | States | Serial No |
India | AP | 1 |
India | Karnataka | 2 |
India | Tamilanadu | 3 |
India | UP | 4 |
USA | Arizona | 1 |
USA | Colorado | 2 |
USA | Florida | 3 |
USA | Montana | 5 |
USA | Maine | 4 |
Please help me out on this.
Thanks,
Bala.
Solved! Go to Solution.
you can try this to create a column
Proud to be a Super User!
you can try this to create a column
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
78 | |
52 | |
38 | |
35 |
User | Count |
---|---|
93 | |
73 | |
55 | |
52 | |
46 |