Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I have the following list. I need to assign the "Market Split No" column but assigning a sequence based on the unique combination of Healthplan_Dashboard and Market Splits. So the combination of Alabama:Alabama gets 1 but the two combination of Alabama:Birmingham both gets 2. I think the best way would be to assign an index column that starts over at each change in Healthplan_Dashboard but I am not sure how to do that.
| Market Split No | HealthPlan_Region | HealthPlan_Dashboard | Market Splits | GalaxySalesOffice |
| 1 | Southeast Region | Alabama | ALABAMA | ALABAMA |
| 2 | Southeast Region | Alabama | BIRMINGHAM | BIRMINGHAM |
| 2 | Southeast Region | Alabama | BIRMINGHAM | C. ALABAMA |
| 3 | Southeast Region | Alabama | HUNTSVILLE | HUNTSVILLE |
| 3 | Southeast Region | Alabama | HUNTSVILLE | NO. ALABAMA |
| 3 | Southeast Region | Alabama | HUNTSVILLE | NO.C ALABAMA |
| 4 | Southeast Region | Alabama | MOBILE | MOBILE |
| 4 | Southeast Region | Alabama | MOBILE | S. ALABAMA |
| 5 | Southeast Region | Alabama | MONTGOMERY | MONTGOMERY |
| 1 | West Region | Arizona | ARIZONA | ARIZONA |
| 2 | West Region | Arizona | PHOENIX | PHOENIX |
| 3 | West Region | Arizona | TUCSON | TUCSON |
| 1 | Southeast Region | Arkansas | LITTLE ROCK | LITTLE ROCK |
| 1 | Central Region | Central Texas | AUSTIN | AUSTIN |
| 2 | Central Region | Central Texas | SAN ANTONIO | SAN ANTONIO |
| 1 | Central Region | Cleveland | CLEVELAND | CLEVELAND |
| 1 | West Region | Colorado | COLORADO | COLORADO |
| 2 | West Region | Colorado | DENVER | DENVER |
| 3 | West Region | Colorado | WYOMING | WYOMING |
| 1 | Central Region | Columbus | COLUMBUS | COLUMBUS |
Solved! Go to Solution.
@Anonymous
would this work?
i created a duplicated table, removed duplicates and created a index based on the composite columns and then merged that back in with a column called index
see pbix attached
Proud to be a Super User!
@Anonymous
would this work?
i created a duplicated table, removed duplicates and created a index based on the composite columns and then merged that back in with a column called index
see pbix attached
Proud to be a Super User!
Perfect! Thank you!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 51 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 72 | |
| 70 | |
| 39 | |
| 34 | |
| 23 |