Forum Discussion
Inactive relationships
- Anonymous2 years ago
Hi Anonymous ,
Power BI allows the use of inactive relationships through specific DAX functions.
If two tables are linked by more than one relationship, you can use USERELATIONSHIP to determine which relationship to activate.
For more information about USERELATIONSHIP see:
USERELATIONSHIP function (DAX) - DAX | Microsoft Learn
Using USERELATIONSHIP in DAX - SQLBI
You can try:
CALCULATE([Measure], USERELATIONSHIP(Table1[Column], Table2[Column]))Use this measure with the slicer in the visual object.
If you have any other questions please feel free to contact me.
Best Regards,
Yang
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Hi Anonymous ,
Power BI allows the use of inactive relationships through specific DAX functions.
If two tables are linked by more than one relationship, you can use USERELATIONSHIP to determine which relationship to activate.
For more information about USERELATIONSHIP see:
USERELATIONSHIP function (DAX) - DAX | Microsoft Learn
Using USERELATIONSHIP in DAX - SQLBI
You can try:
CALCULATE([Measure], USERELATIONSHIP(Table1[Column], Table2[Column]))
Use this measure with the slicer in the visual object.
If you have any other questions please feel free to contact me.
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!