Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
SharonHMA
Helper I
Helper I

Relationships with edited data

I am trying to create a relationship along 'Service Location' between two data sets (SLA Table and FSA Table) however I'm having trouble because the names are not unique in either table.

 

SLA Table contains Service Location Ascend (unique) which translates into Service Location (not unique - eg two Service Location Ascend can roll up to one Service Location for reporting purposes).

 

FSA Table is my market share geographic info.  Each FSA (unique) is rolled up to a Service Location (not unique).

 

I'm very new to Power BI. Would anyone have any suggestion on how I can create a unique field or find a work around that would allow me to link these data sets along Service Location.  

 

 

 

rlnship.JPG

 

 

 

 

1 ACCEPTED SOLUTION
ankitpatira
Community Champion
Community Champion

@SharonHMA You can go to power bi desktop query editor -> create custom columns that can be join of two columns to make it unique or you can create calculated columns under Modelling tab that can be join of two other columns to make it unique.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @SharonHMA,

 

You can use dax formula to create a new table(distinct) based on “Service Location” and “Service Location Ascend”, then use the new table to link above tables’ columns.

 

For example:

Table = DISTINCT(UNION(VALUES(Sheet1[Code]),VALUES(Sheet2[Code])))

 

Regards,

Xiaoxin Sheng

ankitpatira
Community Champion
Community Champion

@SharonHMA You can go to power bi desktop query editor -> create custom columns that can be join of two columns to make it unique or you can create calculated columns under Modelling tab that can be join of two other columns to make it unique.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.