Forum Discussion

alisaleh's avatar
alisaleh
Advocate I
4 years ago
Solved

Filtering throug inactive indirect relationship

I have the following tables with the following relationship A<...*:*...>B, B-*:1->C where C is some lookup table. Lets say in table A there is Status field called IsCompleted which is used in BarChar...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi alisaleh ,

     

    I create a sample to have a test, and USERELATIONSHIP should work well.

    Table A:

    Table B:

    Table C:

    Relationship:

    Measure = 
    CALCULATE(SUM('Table A'[Value]),USERELATIONSHIP('Table A'[Category],'Table B'[Category]), USERELATIONSHIP('Table B'[Category],'Table C'[Category]))

    Result is as below.

    If this reply still couldn't help you solve your problem, please share a sample file with me. And show me a screenshot with the result you want. This will make me easier to find the solution.

     

    Best Regards,
    Rico Zhou

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.