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.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Top Kudoed Authors