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
HMR95
Regular Visitor

The number is out of range of a 64 bit integer value.

Hi

 

I have a column that has values like the two below. (They are refrences for energy meters so can't split the column)

 

1.17E+20

110000145031604032N14

 

The column type can't be number as some of the values have letters, but when I have it set as text I get the error message 'The number is out of range of a 64 bit integer value.'

Any advice please? 

1 ACCEPTED SOLUTION
AlienSx
Super User
Super User

this code 

let
    type_any = #table(type table [column = any], {{1.17E+20}, {"110000145031604032N14"}}),
    type_text = Table.TransformColumnTypes(type_any,{{"column", type text}})
in
    type_text

works just fine. Make sure that you change type to text, not Whole Number

View solution in original post

2 REPLIES 2
ronrsnfld
Super User
Super User

I cannot reproduce your issue unless there is there a preceding step where the data type is being set to Int64.Type or Whole Number.

AlienSx
Super User
Super User

this code 

let
    type_any = #table(type table [column = any], {{1.17E+20}, {"110000145031604032N14"}}),
    type_text = Table.TransformColumnTypes(type_any,{{"column", type text}})
in
    type_text

works just fine. Make sure that you change type to text, not Whole Number

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