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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
prakash11440278
Post Prodigy
Post Prodigy

An argument of function 'INT' has the wrong data type or the result is too large or too small

HI All,

I am facing below error in my measure while using Significant figures calculcation. Please help.

Exression : 

ROUND([Sales],2-(1+INT(LOG10(ABS([Sales])))))
 

prakash11440278_1-1612968485364.png

 

 

 

1 ACCEPTED SOLUTION
v-alq-msft
Community Support
Community Support

Hi, @prakash11440278 

 

There are limitations on data types in Power BI Desktop. When the value is too large or small, the error massage occurs.

h1.png

 

The 'Decimal Number' type can handle negative values from -1.79E +308 through -2.23E -308, 0, and positive values from 2.23E -308 through 1.79E + 308. The largest value 'Fixed Decimal Number' can represent is 922,337,203,685,477.5807 (positive or negative). 'Whole Number' allows for 19 digits; positive or negative whole numbers between -9,223,372,036,854,775,807 (-2^63+1) and 9,223,372,036,854,775,806 (2^63-2).

 

Note:

The Power BI Desktop data model supports 64 bit integer values, but the largest number the visuals can safely express is 9,007,199,254,740,991 (2^53-1) due to JavaScript limitations. If you work with numbers in your data model above this, you can reduce the size through calculations before adding them to a visual.

 

For further information, please refer to the following document.

Data types in Power BI Desktop 

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

5 REPLIES 5
v-alq-msft
Community Support
Community Support

Hi, @prakash11440278 

 

There are limitations on data types in Power BI Desktop. When the value is too large or small, the error massage occurs.

h1.png

 

The 'Decimal Number' type can handle negative values from -1.79E +308 through -2.23E -308, 0, and positive values from 2.23E -308 through 1.79E + 308. The largest value 'Fixed Decimal Number' can represent is 922,337,203,685,477.5807 (positive or negative). 'Whole Number' allows for 19 digits; positive or negative whole numbers between -9,223,372,036,854,775,807 (-2^63+1) and 9,223,372,036,854,775,806 (2^63-2).

 

Note:

The Power BI Desktop data model supports 64 bit integer values, but the largest number the visuals can safely express is 9,007,199,254,740,991 (2^53-1) due to JavaScript limitations. If you work with numbers in your data model above this, you can reduce the size through calculations before adding them to a visual.

 

For further information, please refer to the following document.

Data types in Power BI Desktop 

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

prakash11440278
Post Prodigy
Post Prodigy

HI @harshnathani ,

I have tried for whole number & decimal values still the same.

harshnathani
Community Champion
Community Champion

HI @prakash11440278 ,

 

Can you share a screenshot of your data?

 

Please check if the column are not text in Power Query.

 

1.PNG

 

Regards,

Harsh Nathani

HI @harshnathani ,

Column which i am using is in General Format.

Hi @prakash11440278 ,

 

Can you change the column data type to any of the numeric format in Power Query and then try.

 

1.PNG

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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

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