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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
svzessen
Regular Visitor

Strange behavior on big integers

Hello,

 

I have the following situation. One table is directly from the datasource (Snowflake). The other table is via a dataflow from the same datasource. When I join these tables the number will be rounded some way. (See my screendump.)

The number you see on the left bottom is the correct one. When I filter on a number which is different but rounded on 15 digits the same I get always the same number back.

 

If I join these tables there are more numbers which are joined becauses of the rounding to 15 digits.

Screendump.png

I hope someone can tell me what is going on.

 

 

1 ACCEPTED SOLUTION
Vijay_A_Verma
Super User
Super User

Reference - https://docs.microsoft.com/en-us/power-query/data-types

Decimal numbers support only 15 digits, hence these are getting truncated to 15 digits. Whole numbers support 19 digits. Your bottom number is 19 digits. So, before merging, you should convert the column to Whole number and then merge. 

Limitation - This approach would work as long as numbers are less than or equal to 19 digits.

For number of any length - You will have to convert the relevant columns in both tables to text. Text will support more than 268million unicode characters. 

Then you can merge these tables on text columns which contains these numbers.

View solution in original post

1 REPLY 1
Vijay_A_Verma
Super User
Super User

Reference - https://docs.microsoft.com/en-us/power-query/data-types

Decimal numbers support only 15 digits, hence these are getting truncated to 15 digits. Whole numbers support 19 digits. Your bottom number is 19 digits. So, before merging, you should convert the column to Whole number and then merge. 

Limitation - This approach would work as long as numbers are less than or equal to 19 digits.

For number of any length - You will have to convert the relevant columns in both tables to text. Text will support more than 268million unicode characters. 

Then you can merge these tables on text columns which contains these numbers.

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

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