I want to filter one table by using a column in another table. Here is my table to be filtered:
Table 1
deviceid, user_number
001,400
002,500
003,600
004,700
009,1000
I have another table:
Table 2
deviceid
001
003
004
Now I can filter table 1 with table 2 by writing something like this:
"Filtered Rowxx" = Table.SelectRows(#"Column1", each ([deviceid] <> "001"
and [deviceid] <> "003" and [deviceid] <> "004")
Since Table 2 changes all the time, how can I define a query under power query to achieve this please?