Forum Discussion
FAMH
3 years agoFrequent Visitor
Filter a table using a column in another table
Hello Community , I have Two Table Table 1 : with a column where there is a comment entered by a user : Row Description 1 This is a invoice IV1234 2 IV4356-for client ...
- 3 years ago
Hi,
Please check the below picture and the attached pbix file.
It is for creating a new table.
New table = SUMMARIZE ( GENERATE ( 'Table 2', FILTER ( 'Table 1', CONTAINSSTRING ( 'Table 1'[Description], 'Table 2'[Invoice ID] ) ) ), 'Table 1'[Row], 'Table 1'[Description], 'Table 2'[Invoice ID] )
Jihwan_Kim
Super User
3 years agoHi,
Please check the below picture and the attached pbix file.
It is for creating a new table.
New table =
SUMMARIZE (
GENERATE (
'Table 2',
FILTER (
'Table 1',
CONTAINSSTRING ( 'Table 1'[Description], 'Table 2'[Invoice ID] )
)
),
'Table 1'[Row],
'Table 1'[Description],
'Table 2'[Invoice ID]
)