Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Comparison of two tables to get unmatched values

Hi,

I have two tables to compare all the columns. then find the unmatched vales like

 

Table 1:

IDNamePincodeCountryAgeWork
100011Alex2012France32YES
100012Mari1097Germany33NO
100013Mia3455USA54YES
100014Randi6788Australia41YES
100015Christian7083Norway63NO
100016Sam2444Sweden63NO
100017Kari1781India74YES
100018Siri1781India84NO
100019Linda6354China47YES
100020Nicolai8364Japan28NO


Table 2:

IDNamePincodeCountryAgeWork
100011Alex2012France43YES
100012Mari1097USA31NO
100013Mia3455USA54YES
100014Kari6788Australia41YES
100015Christian7083Norway63NO
100016Sam2441Sweden63NO
100017Kari1781Canada74Yes
100018Siri1781India84NO
100019Linda6354China57NO
100020Nicolai8364Japan28No
100021Lars4454Norway54Yes

conditional columnconditional columnResult in visual tableResult in visual table

 

Table visual.

 

IDErrorTypeTable1 valueTable 2 value
100011Age3243
100012Country, AgeGermany,33USA, 31
100014NameRandiKari
100016Pincode24442441
100017CountryIndiaCanada
100019Age4757

 

How can i achieve this?

 

I tried unpivot table coulmns and merge two tables on ID. 

Then added a conditional column to compare each column from Table1 to Table 2.  But the result in visual table giving me all the comparisions. 

How can i get only differences?

 
 
 

 

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , If you want a new table  you can try

except(TableA, TableB)

 

All record A not in B

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thank you for the reply. i have solved my issue. 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors