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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
OneWithQuestion
Post Prodigy
Post Prodigy

Are compound keys (multi-column) supported?

I know previously it was not possible using PBI to join on multiple columns (or when using direct query).

 

Has that changed at all?

 

We have users who want to use direct query and have many tables that need to link on more than 1 column.

 

I'd like to be able to just let them drag and drop the tables without having to create a custom SQL view instead.

1 ACCEPTED SOLUTION
_donev
Regular Visitor

They are still not supported and as far as I know, it's not going to change in near future. There is an idea you can vote for though - https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/11682321-allow-compound-keys-in-r...

View solution in original post

4 REPLIES 4
v-frfei-msft
Community Support
Community Support

Hi @Anonymous,

 

Has your issue be solved? 

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
v-frfei-msft
Community Support
Community Support

Hi @OneWithQuestion,

 

Does that make sense? If so, kindly mark the answer as solution to close the case.


Regards,
Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
_donev
Regular Visitor

They are still not supported and as far as I know, it's not going to change in near future. There is an idea you can vote for though - https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/11682321-allow-compound-keys-in-r...

v-frfei-msft
Community Support
Community Support

Hi @OneWithQuestion,

 
Based on my test, we can create relationship between tables by multi columns, However we can only make one active. You can use the USERELATIONSHIP function to work with the inactive relationship.

 

inactive.PNG

 

Regards,

Frank 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.