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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Nicmills1
New Member

Beginner Help with Power Query Merging

Good morning everyone, 

 

Apologies in advance if this has been answered elsewhere, I've tried to look through previous threads and figure this out myself but to no avail. I am looking to try and merge the following:

Capture.PNG

My aim is to align matching values whilst maintaining each column in ascending order. Where there is no match on either data set a blank/null cell is inserted. As shown below:

 

Capture2.PNG

 

I've tried a 'Full Outer Join Kind' but it just throws out a load of duplicates. 

 

Many thanks in advance 

1 REPLY 1
slorin
Super User
Super User

Hi,

Add index on each table with Table.Group and Join

= Table.Join(
Table.Combine(
Table.Group(
Table1,
{"Value 1"},
{{"Data", each Table.AddIndexColumn(_,"Index 1")}})
[Data]),
{"Value 1", "Index 1"},
Table.Combine(
Table.Group(
Source2,
{"Value 2"},
{{"Data", each Table.AddIndexColumn(_,"Index 2")}})
[Data]),
{"Value 2", "Index 2"},
JoinKind.FullOuter
)

Stéphane

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.