Forum Discussion

Worldbreaker's avatar
Worldbreaker
Helper I
9 years ago
Solved

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:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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! 

  • 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/

     

3 Replies

  • 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/

     

    • Worldbreaker's avatar
      Worldbreaker
      Helper I

      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.