PI
Applies to: Calculated column Calculated table Measure Visual calculation
Returns the value of Pi, 3.14159265358979, accurate to 15 digits.
DAX
PI()
A decimal number with the value of Pi, 3.14159265358979, accurate to 15 digits.
Pi is a mathematical constant. In DAX, Pi is represented as a real number accurate to 15 digits, the same as Excel.
The following formula calculates the area of a circle given the radius in the column, [Radius]
.
DAX
= PI()*([Radius]*2)