Forum Discussion
83dons
Helper III
1 year agoRemove rows from one table from another larger table
Hi I have a Master table and a Duplictaes Table. I require to remove all rows from the Master Table that are in the Duplicate table. The columns are identical in both tables. Both tables have StaffID...
- 1 year ago
Hi,
in each table remove the extra space from both headings. This simple M code in Power Query works
let Source = Table.RemoveMatchingRows(master,Table.ToRecords(duplicate),{"StaffID","RoleID"}) in SourceHope this helps.
djurecic
Super User
1 year agoHi 83dons ,
If you want to use DAX for this, check out the EXCEPT function:
https://www.youtube.com/watch?v=Kk7_TdmxQOI
https://learn.microsoft.com/en-us/dax/except-function-dax