Power Query, Merge, One-to-One, full outer join. Results are one-to-many join

AnneMarie94

New Member
Joined
Oct 13, 2020
Messages
5
Office Version
  1. 2016
Thanks for your help. In a single workbook, I have two tables (on separate worksheets) each as the same 14 columns. table 1 has 1276 rows, table 2 has 989 rows. I have connections to each table in the workbook queries list. I merged the queries with table 1 first then table 2. I selected the year columns first and then the country columns next. The merge editor said that 1274 rows matched for both columns. I asked for a full outer join and clicked Okay. Then in the Query Editor I expanded the rows for table 2. I selected all but one column which I knew had no data in it.

I could see in the Query Editor that this had not performed a one-to-one join. Instead it did a one-to-many join. Not only is this not what I wanted. But, it increased the size if the table exponentially. How can I get a one-to-one join. I'm pretty sure that I used this exact method two weeks ago to successfully join two other tables.
 

Attachments

  • merge_problem_1.png
    merge_problem_1.png
    52.9 KB · Views: 59

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Forum statistics

Threads
1,224,760
Messages
6,180,817
Members
452,997
Latest member
gimamabe71

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top