Forum Discussion

mangaferret's avatar
mangaferret
New Member
3 years ago
Solved

How to filter data based on shared property with other column (PowerBI Newbie!)

Hi All,   I have the following formatted data:   CodeA CodeB Number SITE PostingValue 600000 Customer1 JournalNumber1 NA 1095.30 Customer1   JournalNumber1 Sitecode1 -182.55 ...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi mangaferret 

    Maybe you can use Number as slicer,  then create a measure

    Measure 2 = IF(ISFILTERED('Table (2)'[Number])=FALSE(),1,IF(SELECTEDVALUE('Table (2)'[SITE])<>"NA",1,0))
    Then put the measure to the visual filter, when the measure is "1", it can display

     

    Output

     

    Best Regards,

    Yolo Zhu

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