Forum Discussion

anmolmalviya05's avatar
anmolmalviya05
Icon for Super User rankSuper User
2 years ago
Solved

How to apply additional filter on a visual

Hi Everyone, I have a requirement in which i have to apply filter on name field on a table visual, Presently I only have 4 names available in the name column, I want to apply filters of 10 names s...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi anmolmalviya05 ,

    Thanks for amitchandak's reply!
    And anmolmalviya05 , you can try this:
    Here is my sample data:

    You need to add another table with all 10 names in it:


    Then use this DAX to create a measure:

    Measure = 
    IF(
        MAX('Table'[Name]) IN VALUES('#10'[#10]),
        1,
        0
    )

    Make the settings as shown in the following figure:

    And the final output is as below:


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