Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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 Employee
Microsoft 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
Microsoft Employee
Microsoft 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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.