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
tamerj1
Community Champion
4 years agoHi GTheunissen
There must be a column that links table1 with table2
- Jeanxyz4 years ago
Power Participant
yes, table 1 merges with tab2 based on column company name.