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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Mergin Queries - Bug?

Hi all,

 

I have a really annoying problem:

 

I'm trying to merge two queries and can't get the columns to match... to illustrate the problem I have reduced my tables to only two columns each and only three rows. Please see pictures:

 

 

 

Table ATable A

 

Table BTable BI press "Merge Queries as New" and select Col 1 for both tables. No mather what options I choose from the "Join Kind" option I get 0 matching rows... Please see the next two pictures..Zero matches!!!Zero matches!!!

 Zero matches!Zero matches!I believe this is due to some kind of formatting error but everything seems okay to me. Does somebody have any suggestions on how to trouble shoot this error!?

 

Thank you!!

1 ACCEPTED SOLUTION
Zubair_Muhammad
Community Champion
Community Champion

Hi @Anonymous

 

Could there be some extra space after some text..?
For example "MRG " in one table ..."MRG" in another

You can use custom Column to check this

Text.Length([Col 1])


Regards
Zubair

Please try my custom visuals

View solution in original post

2 REPLIES 2
Zubair_Muhammad
Community Champion
Community Champion

Hi @Anonymous

 

Could there be some extra space after some text..?
For example "MRG " in one table ..."MRG" in another

You can use custom Column to check this

Text.Length([Col 1])


Regards
Zubair

Please try my custom visuals
Anonymous
Not applicable

@Zubair_Muhammad That was correct. I trimmed and cleaned the column and it worked fine.

 

Thanks!

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.