The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
141 | |
109 | |
108 | |
76 | |
63 |
User | Count |
---|---|
273 | |
129 | |
123 | |
101 | |
91 |