Forum Discussion

darshaningale's avatar
darshaningale
Resolver II
5 years ago
Solved

How to Filter table data based on USERELATIONSHIP

I have table A and table B. There is no active relationship between both of them.

I have created two measures in Table A based on USERELATIONSHIP between Table A & Table B.

I have put both the measures in one column chart graph.

If i select measureX on graph it should filter Table B using relationship1. If i select measureY on graph it should filter Table B using relationship2. I want to show the filtered data of table B in a table visual.

  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi darshaningale,

    I think you are misunderstood with USERELATIONSHIP functions.

    Power bi not able to dynamically change the active relationship based on selection. (this function does not change the active relationship)
    It will change the DAX expressions filters to use an inactive relationship key to filter on your expression and not affect the current relationship and filter interaction of visuals.
    Regards,

    Xiaoxin Sheng

6 Replies