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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

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!:
The Definitive Guide to Power Query (M)

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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.