Forum Discussion
GTheunissen
4 years agoRegular Visitor
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:
- Anonymous4 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
Samarth_18
Community Champion
4 years agoHi GTheunissen ,
Your question is not much clear. Could you please explain with examples and also share your sample data in text format not a screenshot.
Note:- One suggestion kindly promote your first row as a header in table 2 as shown below:-
BR,
Samarth