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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. 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.
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.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.