cancel
Showing results for 
Search instead for 
Did you mean: 
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
Microsoft
Microsoft

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

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

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Top Solution Authors
Top Kudoed Authors