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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.