cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

Multiple connecting relationships

I have 2 tables

 

that need relationships

 

I have an active relationship between the PMPE(Resource) as the Owner(Resource_Data_Table) that would show all projects made by the PMPE as the Owner.

 

the problem is, I need another relationship between the PMPE(Resource) as the Platform Engineer(Resource_Data_Table) that would show all projects by the PMPE as the Platform Engineer.

 

here's a screenshot of my tables:Relationships.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I also created a bridge table to work around the many to many issue with power bi.

 

do you guys know how I can have 2 active relationships? or at least a workaround for this?

 

 

Thanks a lot! 

1 ACCEPTED SOLUTION

Accepted Solutions
Advocate II
Advocate II

Hello,

 

What you are trying to do is similar to handling role playing dimensions within power bi which is not possible due to the limitation of only 1 active join (relationship)

 

The ugly solution is to import "Resource_Data_Table" twice with different names into Power BI desktop, as if they are separate tables. Then you can an have active relationship to each table

 

I came across the following alternative method, in which a table can be 'cloned' within power bi, so you can clone Resource_Data_Table to a different name and use it for the 2nd join (relationship)

 

http://biinsight.com/role-playing-dimensions-in-power-bi/

 

View solution in original post

3 REPLIES 3
Advocate II
Advocate II

Hello,

 

What you are trying to do is similar to handling role playing dimensions within power bi which is not possible due to the limitation of only 1 active join (relationship)

 

The ugly solution is to import "Resource_Data_Table" twice with different names into Power BI desktop, as if they are separate tables. Then you can an have active relationship to each table

 

I came across the following alternative method, in which a table can be 'cloned' within power bi, so you can clone Resource_Data_Table to a different name and use it for the 2nd join (relationship)

 

http://biinsight.com/role-playing-dimensions-in-power-bi/

 

View solution in original post

Advocate II
Advocate II

The article below has another method if the values from the two joins (relationships) need to appear side-by-side. It involves writing a DAX expression. In short, DAX expressions can use an inactive relationship to fetch values, which is what happening here

 

 

http://biinsight.com/side-by-side-role-playing-dimensions-in-power-bi/

 

 

the limitation is truly a hindrance to what we want to show.

 

what I just did is to create a report in excel that shows the Platform Engineers without the Owners.

 

and uploaded it in Power BI

 

then connected to the bridge table to create the relationship with the other tables.

Helpful resources

Announcements
November Update

Check it Out!

Click here to read more about the November 2020 Updates!

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform October Community Highlights

Check out the top community contributors across all of the communities

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors