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
cdfisher89
Helper I
Helper I

Link one query to multiple other queries - multiple relationships from one table

We have a 'User' query and I would like to link this to two other queries - Time Entry and Opportunity.  As you can see in the image below, it won't let me connect User to both.  How do you get around this?  Do I have to add another User query and link to the Opportunity query? This doesn't seem like the right answer.

2016_08_22_12_23_34_Assignment_Power_BI_Desktop.png 

1 ACCEPTED SOLUTION
v-yuezhe-msft
Employee
Employee

Hi @cdfisher89,

In your scenario, it is not possible to create active relationship between User and Opportunity. Assume that you have multiple ids in Time Management  interacting with unique id in User, and you have multiple IsDeleted values in Time Management interacting with unique value of IsDeleted field, in this process, power bi desktop detects some ambiguity , which makes that you can only create inactive relationship between User and Opportunity. For more details about inactive relationship in Power BI Desktop, please review the following blog.

http://www.sqlchick.com/entries/2015/11/7/why-is-my-relationship-inactive-in-power-bi-desktop

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

3 REPLIES 3
v-yuezhe-msft
Employee
Employee

Hi @cdfisher89,

In your scenario, it is not possible to create active relationship between User and Opportunity. Assume that you have multiple ids in Time Management  interacting with unique id in User, and you have multiple IsDeleted values in Time Management interacting with unique value of IsDeleted field, in this process, power bi desktop detects some ambiguity , which makes that you can only create inactive relationship between User and Opportunity. For more details about inactive relationship in Power BI Desktop, please review the following blog.

http://www.sqlchick.com/entries/2015/11/7/why-is-my-relationship-inactive-in-power-bi-desktop

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.
Jorre94
Advocate II
Advocate II

@cdfisher89 

When you delete the relation between "Time Management" and "Opportunity" it will work.

Otherwise you can duplicate the "id" column in the query editor. 

And then connect the id's separatey to the id's.

I unfortunatly get the below error when i duplicate the column and then try and link.

2016_08_22_15_37_18_Assignment_Power_BI_Desktop.png

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.