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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
BrunieToons
Frequent Visitor

Problem merging on decimal data type

Does anyone know why about 10% of my records fail to join on this ID column, which is comes in from the data source as a decimal format? When I transform it to int, the join works. Here is the merge preview when both columns are in decimal format:

BrunieToons_0-1647354344232.png

 

1 ACCEPTED SOLUTION
edhans
Super User
Super User

Change it to integer format first. Decimal has 15 level precision and since PCs are floating point, what looks like to you 3 might be 2.9999999999999 or 3.000000001. You've seen that in Excel.

merging on whole numbers will work fine.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

1 REPLY 1
edhans
Super User
Super User

Change it to integer format first. Decimal has 15 level precision and since PCs are floating point, what looks like to you 3 might be 2.9999999999999 or 3.000000001. You've seen that in Excel.

merging on whole numbers will work fine.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Top Solution Authors