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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.