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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Merging two tables with same number of columns

Hi,

I have 2 tables which were mported and cleaned in PBI desktop. both has 2 columns, first column is text in both with same number of rows and second columns are different but both whole number format. When I use merge query as new to join them, it only accepts left outer joint with 2out of 43 rows marched! They both are parsed from same SAP text file and I need to have a table with 3 columns consisting of first column is the common column in both tables, second column comming from my 1st table and 3rd column coming from my 2nd table.

It's weird why I can not simply does it?!

Please help? 

2 REPLIES 2
HotChilli
Super User
Super User

My first thought is that the text columns have spaces or hidden characters in them.

You can 'trim' and 'clean' the data to get your matches.

You could also test to see whether you get matches on just the number columns (that won't return all the data you want but you can eliminate that from the investigation.

Anonymous
Not applicable

Thanks for the reply, however, I have tested and tried all these assumptions with not success before posting my question. Can one of the gurus here help please?!

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors