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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

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.
watkinnc
Super User
Super User

Those are big numbers. Perhaps:

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

 

--Nate


I’m usually answering from my phone, which means the results are visualized only in my mind. You’ll need to use my answer to know that it works—but it will work!!

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.