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
joglidden
Advocate III
Advocate III

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
v-sihou-msft
Employee
Employee

@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
v-sihou-msft
Employee
Employee

@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,

@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.

Anonymous
Not applicable

Have you tried making the links bi-directional?

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

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.