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

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.

Reply
Nandhini07
Frequent Visitor

PowerBI -how to join 2 tables and get all unmatchedrecords from tab1 and unmatched records from tab2

Hi, i am trying to join two tables and end result be unmatched records from both tables.Please help with the solution at the earliest. Thanks in advance. 

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @Nandhini07,

 

You can do this in Query Editor mode.

 

Sample table.

Table1                                                           Table2

1.PNG          2.PNG

 

Merge (Outer Join) these two tables as a new one.

3.PNG

 

Expand the tableand apply filters.

6.PNG4.PNG

 

Result.

5.PNG

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
MikeBresnan
Helper I
Helper I

Not to Necropost, but you can now do Left/Right Anti join in the query merge menu, and get unmatched rows.

 

MikeBresnan_0-1706811212108.png

 

v-yulgu-msft
Employee
Employee

Hi @Nandhini07,

 

You can do this in Query Editor mode.

 

Sample table.

Table1                                                           Table2

1.PNG          2.PNG

 

Merge (Outer Join) these two tables as a new one.

3.PNG

 

Expand the tableand apply filters.

6.PNG4.PNG

 

Result.

5.PNG

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for the solution. will try and let you know. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.