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
Anonymous
Not applicable

Issue with Manage Relationship

Hi, I am facing an issue in "Manage Relationship".

I have 3 dataset queries consider as fact data having date and city columns. Query1, Query2, Query3

I have two master dataset which is having date and city master data (unique data). 

Now I have to use Report Level Filter for using Date and City values as filter for all three fact queries. 

 

Now the problem is, I can make only single relationship between Date and City master with fact queries. Further relationship showing inactive due to ambiguity.

 

I have three visuals by three fact queries each which I cannot merge. Could you please help me out here how can I do this and provide report level filter to users so that they can select either Date or City values or both for filtering all 3 visuals simultaneously.

1 ACCEPTED SOLUTION
Habib
Responsive Resident
Responsive Resident

Please create relationship with both datasets. One relationship will be active whereas other will be non active. It will be changed to non active automatically but you can still refer to this relationship using USERELATIONSHIP in DAX. If you want any of your measure to be computed based on inactive relationship you can enforce this through above function.

View solution in original post

2 REPLIES 2
Habib
Responsive Resident
Responsive Resident

Please create relationship with both datasets. One relationship will be active whereas other will be non active. It will be changed to non active automatically but you can still refer to this relationship using USERELATIONSHIP in DAX. If you want any of your measure to be computed based on inactive relationship you can enforce this through above function.

Anonymous
Not applicable

Double Like.. Thanks for the solution. 

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.