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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
captainlaw
Employee
Employee

Desktop Edit Relationship - Cannot Select Multiple Columns

Hello Community, I'm trying to select multiple columns (Name & Team), but the Desktop tool only allows me to select one.  Is there limitation to the tool to allow multiple columns for the join?  See screenshot below.

 

Thanks.

 

pbirelationship-question.JPG

4 REPLIES 4
KHorseman
Community Champion
Community Champion

A relationship can only be formed between two columns. If you want a relationship based on multiple columns per table you will need to create compound key columns.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




That will be a limitation compared with Tableau and Qlik. 

Hi @captainlaw,

There is a limitation in Power BI relationship that we can’t create relationship with two or more columns, some ideas about this issue have been submitted in the following links, please vote them.

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/15013392-multi-select-columns-in-...
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/10321815-composite-key-support-in...

To work around this issue, you can create a new column in both tables using the following formula , then create a relationship based on these new fields.

Newcolumn = [Name] & [Team]

Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks Lydia.  I've just voted to help prioritize.  Cheers.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.