PI Function (DAX)

Returns the value of Pi, 3.14159265358979, accurate to 15 digits.

PI()

Return Value

A number (R8).

Remarks

Pi is a mathematical constant. In PowerPivot, Pi is represented as a real number accurate to 15 digits, the same as Excel.

Example

The following formula calculates the area of a circle given the radius in the column, [Radius].

=PI()*([Radius]*2)

See Also

Other Resources

Math and Trigonometric Functions (DAX)