Forum Discussion

KatheB's avatar
KatheB
Frequent Visitor
3 years ago
Solved

Filtering two columns using the same slicer

I hope I can make myself understood. I have the following table attached, from which I want to filter two tables based on the same slicer. A table where the leader 1 is the leader (this one i...
  • Anonymous's avatar
    Anonymous
    3 years ago

    HI KatheB ,

    I have create a simple sample, please refer to my pbix file to see if it helps you.

    Create a table first.

    Table 2 = SUMMARIZE('Table','Table'[Lider])
    

    Then put the filed into the slicer.

    Measure = var _1=SELECTEDVALUE('Table 2'[Lider])
    return
    IF(_1=MAX('Table'[Lider]),1,BLANK())
    Measure 2 = var _1=SELECTEDVALUE('Table 2'[Lider])
    return
    IF(_1=MAX('Table'[Co Lider]),1,BLANK())

    Finally filter the measure.

     

    How to Get Your Question Answered Quickly 

     

    If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

     

    Best Regards
    Community Support Team _ Rongtie

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