cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
joglidden Helper IV
Helper IV

Intermediate table (with combined PKs) relationships don't work in Power BI?

I am trying to get an intermediate table to work, to no avail. To check it, I created a query in Access and it worked just fine. Tables come out of SQL Server in Azure. Does anyone have any insight into this? Is this not a supported feature in PBI?

 

Capture.JPG

 

1 ACCEPTED SOLUTION

Accepted Solutions
Moderator v-sihou-msft
Moderator

Re: Intermediate table (with combined PKs) relationships don't work in Power BI?

@joglidden

 

Power BI .pbix is a Tabular/PowerPivot model internally. Composite Keys are not supported. See: Relationships (SSAS Tabular)

 

General workaround is concatenating multiple key columns into single column:

 

HOW TO IMPLEMENT A COMPOSITE KEY IN SSAS TABULAR MODEL

Tabular Model Relationships

 

Regards,

View solution in original post

4 REPLIES 4
Ross73312 Community Champion
Community Champion

Re: Intermediate table (with combined PKs) relationships don't work in Power BI?

Have you tried making the links bi-directional?


   

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

Proud to be a Datanaut!


   


Moderator v-sihou-msft
Moderator

Re: Intermediate table (with combined PKs) relationships don't work in Power BI?

@joglidden

 

Power BI .pbix is a Tabular/PowerPivot model internally. Composite Keys are not supported. See: Relationships (SSAS Tabular)

 

General workaround is concatenating multiple key columns into single column:

 

HOW TO IMPLEMENT A COMPOSITE KEY IN SSAS TABULAR MODEL

Tabular Model Relationships

 

Regards,

View solution in original post

joglidden Helper IV
Helper IV

Re: Intermediate table (with combined PKs) relationships don't work in Power BI?

Thank you for the suggestion. Yes, I tried that to no avail. 

joglidden Helper IV
Helper IV

Re: Intermediate table (with combined PKs) relationships don't work in Power BI?

@Simon_Hou-MSFT wrote:

 

Power BI .pbix is a Tabular/PowerPivot model internally. Composite Keys are not supported. See: Relationships (SSAS Tabular)

 

 

Regards,


Thank you for explaining this to me, this is really important to know. Because we use PBI extensively, I will redesign my tables to keep one PK, and have two or more fields of FKs. I'm glad I discovered this sooner rather than later.

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors