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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
LMDV
Frequent Visitor

[ power query ] MERGE not working even though values are the same

Hello - need your help please; this is doing my head in.

I'm trying to do a simple MERGE and from what I can see, the values look the same.

But for some reason, MERGE cannot find any match.

 

I've tried the following but it still doesn't work

- transformed both columns into decimal numbers

- applied Number.From on both columns

- multiplied both by 1

 

I also copied both in EXCEL --- XLOOKUP does not work either. In Excel, (1) applying VALUE() and (2) multiplying the first column by 1 do not work. What worked in Excel is to go through each value in the first table and hit enter. 

 

How do i solve this in POWER QUERY? HELP please!

 

 

 

merge not working.png

 



@m_dekorte i'd appreciate your help please?

2 ACCEPTED SOLUTIONS
BA_Pete
Super User
Super User

Hi @LMDV ,

 

The values appear the same in that format, but in the background one is probably 5.520000000133 or similar.

I'd recommend applying Number.Round to both values before the merge and see if that helps.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




View solution in original post

m_dekorte
Super User
Super User

Hi @LMDV,

 

I'm with @BA_Pete on this one, that's most likely.

 

Generally there are a couple of things to look out for when a merge is not returning the expected result. 

1) The case of strings
2) The datatype of values
3) The addition of invisible characters like a space for example

4) The number of decimal places

View solution in original post

4 REPLIES 4
m_dekorte
Super User
Super User

Hi @LMDV,

 

I'm with @BA_Pete on this one, that's most likely.

 

Generally there are a couple of things to look out for when a merge is not returning the expected result. 

1) The case of strings
2) The datatype of values
3) The addition of invisible characters like a space for example

4) The number of decimal places

BA_Pete
Super User
Super User

Hi @LMDV ,

 

The values appear the same in that format, but in the background one is probably 5.520000000133 or similar.

I'd recommend applying Number.Round to both values before the merge and see if that helps.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




LMDV
Frequent Visitor

this worked! thanks BA_Pete!

 

Took you a little while to get round to this, huh? 😂

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.