Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi, I have two tables that I need to do comparison from. One is a Master Table( Table_1) that contains many records and the other (Table 2) only has a certain amount.
I know that if I make a relationship between the two, I'll get data that exists between the two tables. However, I'm stuck in a situation where I just want records that exist on Table_2 but are not on Table_1.
With SQL, NOT IN would work but I don't know how to convert the same in Power BI
Solved! Go to Solution.
You can do this in Power Query or DAX.
Power Query using a Left Anti join:
DAX caclulated table:
CalcTable = EXCEPT ( Table2, Table1 )
Proud to be a Super User!
Hi @geekmachine811 ,
Could you tell me if your problem has been solved by using @DataInsights 's suggestion? If it is, kindly Accept it as the solution to make the thread closed. More people will benefit from it.
Best Regards,
Eyelyn Qin
You can do this in Power Query or DAX.
Power Query using a Left Anti join:
DAX caclulated table:
CalcTable = EXCEPT ( Table2, Table1 )
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
94 | |
76 | |
62 | |
55 |
User | Count |
---|---|
142 | |
107 | |
89 | |
84 | |
65 |