DAX Function Guide

SQRT
Empty image or helper icon

Sam McKay

CEO & Founder

How does the SQRT work?
The SQRT function (DAX) returns the square root of a number.
SQRT Formula Syntax

SQRT(
     <number>
)

How do you use the SQRT?

This function will provide the square root of a positive number.

Related Blog Posts

Loading

Considerations when using the SQRT?

If a number provided by a user is negative, the SQRT function will return the #NUM! error. The square root of a negative number does not exist among the set of real numbers. It is because there is no way to square a number and get a negative result.

However, if we wish to take the square root of a negative number as if it were a positive number, we need to use the ABS function. We will wrap the source number in the ABS function, which will return the absolute value of a number and ignore the positive or negative sign of the given number.

Related Video Tutorials

Loading

Formula examples using the SQRT

=SQRT(25)

=SQRT(82.6)

=SQRT(A3)

Related Courses

Loading