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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Mike_Mace
Resolver I
Resolver I

Active / Inactive relationships

I use "Date" and "Company" in standalone tables in order to create relationships with variables (planned and actual). On one report the relationships work fine for both Date and Company.

 

On a second report where I use the same process the relationship does not become active on Company. I get an attention message "You can't create a direct active relationship between Company and MEP Actual because that would introduce ambiguity between tables Date Calendar and MEP Planned. To make this relationship active, deactivate or delete one of the relatioshops between Date Calendar and MEP Planned first."

 

Why isn't that message shown on the first report?

Am I missunderstunding something with relationships?

 

 

NotNotworking relationshipsworking relationships

 

 

@v-lid-msft,  https://community.powerbi.com/t5/Desktop/Filtering-multiple-curves/td-p/1038960

 

1 ACCEPTED SOLUTION

OK, look at your picture and follow your arrows

 

Path 1: Date Calendar -> MEP Planned -> Company -> MEP Actual

Path 2: Date Calendar -> MEP Actual

 

2 paths, both cannot be active. I don't know how to explain this any differently. 

 

For that matter, you also have 2 paths from Date Calendar to Company and Date Calendar to MEP Planned so you basically just have a big circle and that is generally not a good data model.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

It's not the same, in your first model, Date Calendar table has 2 paths to MEP Actual table. Just follow your arrows.

 

You cannot have 2 active pathways between the same 2 tables in your model. If you create 2 paths, one will become inactive. You can still use it by specifying USERELATIONSHIP. However, if you find yourself using USERELATIONSHIP nine times out of ten, you should rethink your data model. 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler ,

 

The second arrow led to another independent variable. It's not affecting MEP Actual table. 

 

Reattaching with the relationships to the other viariables deleted.

 

relationships 3.JPG

OK, look at your picture and follow your arrows

 

Path 1: Date Calendar -> MEP Planned -> Company -> MEP Actual

Path 2: Date Calendar -> MEP Actual

 

2 paths, both cannot be active. I don't know how to explain this any differently. 

 

For that matter, you also have 2 paths from Date Calendar to Company and Date Calendar to MEP Planned so you basically just have a big circle and that is generally not a good data model.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.