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
jscivias
Frequent Visitor

How to combine two tables in their entirety (some columns are the same, some are not)

Hello, if I am trying to combine the first two tables and create a new table (third), but I am not having much luck with either append or merge queries:

 

jscivias_0-1659474623013.png

 

when i try append query, the new table does contain all seven columns but not all rows (from both tables) show up. if i try merge query, i just run into problems.. 

 

any help appreciated, thanks a lot. 

 

 

 

1 ACCEPTED SOLUTION
jbwtp
Memorable Member
Memorable Member

Hi @jscivias,

 

I am quite surprised that Append does not show up all rows from both tables, it doe snot do any filtering or duplicate removal by default. It should be some other step which does it.

 

For Merge (to achive the bottom table form the top two: use JoinKind.FullOuter rather than JoinKind.LeftOuter which is used by default.

 

Hope this helps.

 

Cheers,

John

View solution in original post

1 REPLY 1
jbwtp
Memorable Member
Memorable Member

Hi @jscivias,

 

I am quite surprised that Append does not show up all rows from both tables, it doe snot do any filtering or duplicate removal by default. It should be some other step which does it.

 

For Merge (to achive the bottom table form the top two: use JoinKind.FullOuter rather than JoinKind.LeftOuter which is used by default.

 

Hope this helps.

 

Cheers,

John

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.

Top Solution Authors