Forum Discussion

jamesbw's avatar
jamesbw
Regular Visitor
4 years ago
Solved

Dynamically filter one table by another without using relationships

I have built a relationship structure which I must maintain in order to keep my data model's current functionality:   The current structure works correctly, however what I am now aiming to achi...
  • jamesbw's avatar
    jamesbw
    4 years ago

    Thank you to everyone for your potential solutions, it is much appreciated.

     

    I managed to resolve my problem by connecting the DDL Filter table to the A x B table with a relationship and then set up this measure which I then filtered in a visual table with E Name to only show values which were greater than zero:

     

    CustomFilter = VAR MyFilter = VALUES('DDL Filter'[Filter])

    RETURN

    SUMX('B X C', IF('B X C'[DDL] IN MyFilter, 1, 0))