cancel
Showing results for 
Search instead for 
Did you mean: 
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
Microsoft
Microsoft

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
Microsoft
Microsoft

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

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
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!