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
faerewatson
Advocate I
Advocate I

how to relate multiple fact tables with shared dimensions?

I want to relate two fact tables and I have several shared dimensions. (the relationships to the dimensions are single direction, one to many, active) I have an ID field on both fact tables that I could use, but I cannot make the relationship active as it creates a circular reference so Power BI won't allow. Any suggestions? model.PNG

3 REPLIES 3
v-yulgu-msft
Employee
Employee

Hi @faerewatson,

 

Since you have created one to many relationship between FactA and DateKey, and between FactB and DateKey, there existing an indirect many to many relationship between FactA and FactB. The error message has pointed out that the one to many relationship between FactB and FactA based on [PrescriptionID] will introduce ambiguity between Tables. If you want to active this unsupported relationship, the only way is to inactivate other relationships.

1.PNG

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks @v-yulgu-msft - can you explain what an inactive relationship is for? What does that buy me?

Hi @faerewatson,

 

To active the relationship based on [PrescriptionID], you may need to inactive other one to many relationships between fact table and dimention tables. For example, the relationship between FactA and DimMember based on [MemberKey].

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.