Table Merge creates duplicate records in Power Query

VBA learner ITG

Active Member
Joined
Apr 18, 2017
Messages
267
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi Folks,

I am stumped.

I am trying to merge two tables into a new table using a LEFT JOIN. Both tables have unique records on each row. When I join the tables, BI creates duplicate rows on some records for no apparent reason. The duplicates are identical in every way.

I followed the steps outlined in the below website:

Power Query Merge Table Steps

Can anybody explain this?
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Hi,

This is guessing to the max without sample data but in most cases this caused because the field into the table's do have duplicate keys in them.
If you could provide a part of your file (using XL2BB) or copy of a file (no sensitive data) that shows the problem by uploading to a file-share site and provide a link here that might enable us to investigate better.
 
Upvote 0
Solution
Hi,

This is guessing to the max without sample data but in most cases this caused because the field into the table's do have duplicate keys in them.
If you could provide a part of your file (using XL2BB) or copy of a file (no sensitive data) that shows the problem by uploading to a file-share site and provide a link here that might enable us to investigate better.
Hi jorismoerings,

Thank you for taking the time to reply. You post was extremely helpful as it told me that i had duplicate keys in them which meant that the records were duplicating.

After removing the duplicates the issue has corrected itself.
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,551
Members
449,088
Latest member
davidcom

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