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
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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.