Forum Discussion

sacheu's avatar
sacheu
Icon for Microsoft Employee rankMicrosoft Employee
7 years ago

How to have 2 active relationships between 2 tables

I have 2 tables, each of them has its visual in PowerBI.
And there is currently 1 active relationship between them.


My question is how can I add a 2nd active relationship between them?
so that when I click on 1 item in 1 visual, the other table will get updated and Vice versa.

 

Table 1:

Column A

Column 1

Column 2

Column 3

Column B

 

Table 2:

Column A

Column 5

Column 6

Column 7

Column B

 

I want Column A and Column B to be active relationships.

 

Thank you.

Sam

 

9 Replies

  • sacheu you cannot have more than one active relationship, you have to use userelationship function to use inactive relationship.

    • sacheu's avatar
      sacheu
      Icon for Microsoft Employee rankMicrosoft Employee

      So if i have 1 active relationship and 1 inactive relationship. Each relationship maps to a different column of the tables.

      How can i make the other visual update when i select 1 visual? I thought i need to have active relationship before i can get clicking 1 visual will update another visual working.

      • AlexisOlson's avatar
        AlexisOlson
        Icon for Super User rankSuper User

        You'll likely need some kind of bridge table or combined index to relate the tables. Can you describe what are in those A and B columns?