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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
pji
Advocate I
Advocate I

Create relationships using 2 columns as primary key

Please allow us to create relationship between two tables using a combination of 2 columns instead of single column, if none of the single columns have unique values. Sometimes it is not possible to create summary tables with unique values for any column.

4 REPLIES 4
v-haibl-msft
Microsoft Employee
Microsoft Employee

@pji

 

We can either creating another summary table or using a concatenated column in such scenario.

Please also create an idea in https://ideas.powerbi.com for feature request.

 

Best Regards,
Herbert

Thanks. I did that.

jthomson
Solution Sage
Solution Sage

You could create a column concatenating the two you want to use as a workaround?

That won't help in my case, since I am making a generic template and the base table would be deleted and readded every time. I would like to minimise the effort as much as possible.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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