Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!