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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
DeBIe
Post Partisan
Post Partisan

Creating relationship based on two columns possible?

Hey all,

 

I'm used to combining two or more columns into one when I have no unique identifier. I remember that I've seen the possibility in the CreateRelationship window in PowerBI to select a 2nd column for the relationship. Same as creating a join in SQL, I would have to add a 'and' to the join to add a 2nd matching column.

 

I've tryed to do this in PowerBI but I am not able to select a 2nd column. This feature was possible right? I'm quiete sure i've seen it.

In the sample below you see a red number, this is how it looked like when the possibility was there to select a second column.

 

DeBIe_0-1685700283087.png

 

 

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

You might be thinking of Power Query, where it is possible to do a join on multiple columns I think, but its never been possible to create relationships that way. You'd have to combine the columns into one and use that as the key for the relationship.

View solution in original post

2 REPLIES 2
DeBIe
Post Partisan
Post Partisan

Thanks @johnt75 , you are right. I was confused with the merge function within PowerQuery. 

johnt75
Super User
Super User

You might be thinking of Power Query, where it is possible to do a join on multiple columns I think, but its never been possible to create relationships that way. You'd have to combine the columns into one and use that as the key for the relationship.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.