I need to write a measure that gives me the distinct count of items in one table that do not appear in another table.
Table1 appears as follows:
Table2 appears as follows:
I want to write a measure that returns a result of 1 because ID 1003 in Table1 does not appear in Table2.
Any and all help would be greatly appreciated.
Solved! Go to Solution.
You could do this in 2 steps:
IsInTable2 = LOOKUPVALUE(Table2[ID],Table1[ID],Table1[ID])You can hide this column as it only stores an intermediate result.
NotInTable2 = COUNTBLANK(Table1[IsInTable2])
Hope this helps