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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

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

Anonymous
Not applicable

Those are big numbers. Perhaps:

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

 

--Nate

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors