Forum Discussion

GTheunissen's avatar
GTheunissen
Regular Visitor
4 years ago
Solved

extract rows in table based on other table

I have two tables. One table exist the names of rows i want to execute in the second table.    How can I do that?  This column names need to be executed in this table:   
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi GTheunissen ,

     

    So you want to filter the second table for usernames that are common to the first table?

     

    If so, you can try this measure to filter:

    Measure = IF(SELECTEDVALUE('Table 1'[username]) in VALUES('Table 2'[Column2]),SELECTEDVALUE('Table 2'[Column2]))

     

    the result will as the image shows:

    If this way meets your needs, you also can view my testing pbix file.

     

    Best regards,

    Community Support Team Selina zhu

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