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
BIanon
Resolver I
Resolver I

Power BI issue with big integer

Hello Community,

I have some integer keys generated by running a hashing function on some really long strings.

The keys comes into Power Query just fine, but when I load the data into PBI the last 3 numbers are replaced by zeroes.

Here is an example of a key:
-9223335268985614144
And here is the same key after being loaded into PBI:
-9223335268985614000

The column data type is whole number and it is not being changed in data view either. What can I do to align this?

If need be I can provide more examples or information.
The hash function used is FARM_FINGERPRINT() in Big Query.

1 ACCEPTED SOLUTION
tex628
Community Champion
Community Champion

Here we go:
Data types in Power BI Desktop - Power BI | Microsoft Learn 

tex628_3-1673963583437.png
Appears to be Javascript limitations. 

/ J

 


Connect on LinkedIn

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@BIanon , Can load it as decimal and try , change data type in Power query and in DAX use format as whole number (not data type)

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Thank you for your reply.

Unfortunately the error persists when using float as well

tex628
Community Champion
Community Champion

Here we go:
Data types in Power BI Desktop - Power BI | Microsoft Learn 

tex628_3-1673963583437.png
Appears to be Javascript limitations. 

/ J

 


Connect on LinkedIn
tex628
Community Champion
Community Champion

Hi @BIanon , 

Ive done some testing and things are slightly weird. 

It seems like the 18-digit code is still imported and stored. Its's just being displayed as a 15-digit code when visualized: 

Data view:

tex628_0-1673963307565.png

Same table in report view: 

tex628_1-1673963342980.png


Relationships still work as intended, even through the keys are displayed as the same:

tex628_2-1673963388044.png

Still, i don't know why they are displayed in this way. I'll do some more research and see what i can find. 

Br,
J


Connect on LinkedIn

Thank you for this thorough and detailed response.

Your findings are consistent with what I am exepriencing and explains why I am unable to search an ID copied from a visual in the tables in data view.

If you find out more I would be interested in your findings.

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.

Jan NL Carousel

Fabric Community Update - January 2025

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

Top Solution Authors