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
Anonymous
Not applicable

SQRT Function returning Error

Hi Folks,

I have an issue in Dax funtion SQRT.

mahi_r_0-1620914324053.png

This is the error it is returning.

The measure we hade is supposed return the square root of product of 2 measure values.
Measure = SQRT([Part1] * [PART2])

This error is happening for the below mentioned values 

Examples.

Measure = SQRT(1065016356*63025475556)
Measure = SQRT(1467284654*98905757874)

Please help me in solving this issue 

Thanks 
Mahesh R

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

Hi @Anonymous ,

Please update the formula of Measure as below and check whether you can get the expected result:

 

Measure = SQRT ( ABS ( [Part1] * [PART2] ) )

 

SQRT problem in DAX/excel - too many decimal places?

Handling Errors in DAX Expressions

Best Regards

Community Support Team _ Rena
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

2 REPLIES 2
v-yiruan-msft
Community Support
Community Support

Hi @Anonymous ,

Please update the formula of Measure as below and check whether you can get the expected result:

 

Measure = SQRT ( ABS ( [Part1] * [PART2] ) )

 

SQRT problem in DAX/excel - too many decimal places?

Handling Errors in DAX Expressions

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Those are big numbers. Perhaps:

Measure = CALCULATE(SQRT([Start1]*[START2]), [Start1] >0)

 

--Nate

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.