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

Can't create direct active relationship

Hello All ,

 

We have below data model .

There are 2 facts and 2 dimention tables .

 

Final data and final data(2) are the fact tables and remaing two are dimention tables .

 

With (Final data and Final data(2)) , <-> Dimentional_state relationship defined on  ID  Column.

With (Final data ) , <-> Dimention range relationship defined on lifeInsuranceCoverd = Brackets

With (Final data 2 ) , <-> Dimention range relationship defined on HealthCoverd = Brackets

 

We get a below error

 

Capture.JPG

 

Capture2.JPG

 

 Any workaround recommended?? . It is as good as joining fact tables with multiple dimention tables.

 

 

 

1 ACCEPTED SOLUTION
v-yuezhe-msft
Employee
Employee

Hi @ANKITBISANI,

You are only able to create inactive relationship between Final Data table and Dimention range. In Power BI Desktop, only one relationship can be active between a Fact table and Dimension table.

In your scenario, as mentioned in the above waring, there is an active set of indirect relationship(Final Data can be reached via this path: Dimention range->Final Data(2)->Dimention_State->Final Data) already exists between Final Data table and Dimension range, thus you are not able to create another active relationship between Final Data table and Dimention range. However, with inactive relationship, you can you can create using USERELATIONSHIP function.

 

Thanks,
Lydia Zhang

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

View solution in original post

1 REPLY 1
v-yuezhe-msft
Employee
Employee

Hi @ANKITBISANI,

You are only able to create inactive relationship between Final Data table and Dimention range. In Power BI Desktop, only one relationship can be active between a Fact table and Dimension table.

In your scenario, as mentioned in the above waring, there is an active set of indirect relationship(Final Data can be reached via this path: Dimention range->Final Data(2)->Dimention_State->Final Data) already exists between Final Data table and Dimension range, thus you are not able to create another active relationship between Final Data table and Dimention range. However, with inactive relationship, you can you can create using USERELATIONSHIP function.

 

Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
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.