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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
ovetteabejuela
Impactful Individual
Impactful Individual

Only 64-Bit Data Type in Data Models?

Read: Data Types in Data Models

 

Does this mean that no matter how I customzie my data types in Data Models down to Int8 it will always be converted to Int64?

 

But I did observe something, If I convert the data type to Int8 it can only accept a number not greater than 127 or 0111 1111.

 

8Bit.PNG

1 ACCEPTED SOLUTION

In my view, the Int.. types can only be used to have an error generated if a number is outside its range (see below), except for Int64 which is the general type for whole numbers.

 

Int8: -256 - +255

Int16: -32,768 - +32,767

Int32: -2,147,483,648 – +2,147,483,647

Int64: -9,223,372,036,854,775,808 - +9,223,372,036,854,775,807
 

Specializing in Power Query Formula Language (M)

View solution in original post

4 REPLIES 4
MarcelBeug
Community Champion
Community Champion

Almost correct. Numbers are stored in 64-bit; depending on the data type these can be integers or (floating point) decimals.

The range for Int8 = -128 thru 127.

Specializing in Power Query Formula Language (M)

So, does this mean I had to stop micromanaging my data types - the Int ones?

 

What I'm doing is I'm going through each one and evaluating their ranges (Int8, Int 16, Int32, Int64).

In my view, the Int.. types can only be used to have an error generated if a number is outside its range (see below), except for Int64 which is the general type for whole numbers.

 

Int8: -256 - +255

Int16: -32,768 - +32,767

Int32: -2,147,483,648 – +2,147,483,647

Int64: -9,223,372,036,854,775,808 - +9,223,372,036,854,775,807
 

Specializing in Power Query Formula Language (M)

Then I think I could agree specially that I haven't read that there is such Data Types for Power Query. Thank you!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.