# SQRTPIDAX Function (Math and Trig)

Returns the square root of (number * pi).

## Syntax

SQRTPI ( <Number> )
Parameter Attributes Description
Number

The number by which pi is multiplied.

## Return values

Scalar A single decimal value.

Returns the square root of (number * π).

## Remarks

The Microsoft documentation and IntelliSense use “pi” as an alias for π.

» 1 related function

## Examples

```--  SQRTPI computes the square root of the value multiplied by Pi
--  PI returns the value of Pi with 15 digits of accuracy
DEFINE
VAR Vals = GENERATESERIES ( 1, 25, 3 )
EVALUATE
ADDCOLUMNS (
Vals,
"SQRTPI",       SQRTPI ( [Value] ),
"SQRT and PI",  SQRT   ( [Value] * PI () )
)
```
Value SQRTPI SQRT and PI
1 1.77 1.77
4 3.54 3.54
7 4.69 4.69
10 5.60 5.60
13 6.39 6.39
16 7.09 7.09
19 7.73 7.73
22 8.31 8.31
25 8.86 8.86

## Related functions

Other related functions are:

Last update: Sep 11, 2024     » Show contributors

Contributors: Alberto Ferrari, Marco Russo, Kenneth Barber,

Microsoft documentation: https://docs.microsoft.com/en-us/dax/sqrtpi-function-dax

2018-2024 © SQLBI. All rights are reserved. Information coming from Microsoft documentation is property of Microsoft Corp. » Contact us   » Privacy Policy & Cookies

# Context Transition

This function performs a Context Transition if called in a Row Context. Click to read more.

# Row Context

This expression is executed in a Row Context. Click to read more.

# Not recommended

The use of this function is not recommended. See Remarks and Related functions for alternatives.

# Not recommended

The use of this parameter is not recommended.

# Deprecated

This function is deprecated. Jump to the Alternatives section to see the function to use.

# Volatile

A volatile function may return a different result every time you call it, even if you provide the same arguments. Click to read more.

# Deprecated

This parameter is deprecated and its use is not recommended.

# DirectQuery compatibility

Limitations are placed on DAX expressions allowed in measures and calculated columns.
The state below shows the DirectQuery compatibility of the DAX function.

### Contribute

Want to improve the content of SQRTPI? Did you find any issue?
Please, report it us! All submissions will be evaluated for possible updates of the content.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.