PI Function (DAX)

How does the PI function (DAX) work?

The PI function (DAX) returns the value of Pi, 3.14159265358979, accurate to 15 digits.

PI Formula Syntax

PI( )

How do you use the PI function?

Pi is a mathematical constant. In DAX, you can used PI function to represent as a real number accurate to 15 digits, the same as Excel.

Related Blog Posts

Related Support Forum Posts

Dax Calculation question
Dax not working
DAX Buffer Calculation Query

Considerations when using the PI function

The PI function do not require any arguments, but always require parentheses to indicate the null argument. For example, you must always type PI(), not PI. You can also nest functions within other functions.

Related Video Tutorials

Formula examples using the PI function

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

=PI()/2

=PI()*B1^2

Related Course Modules

Ultimate-Beginners-Guide-To-PowerBI
Center of Excellence

DOWNLOAD


Download our comprehensive DAX Formula Reference Guide as perfect companion as you learn how to use DAX formulas within Power BI.


Download DAX Formulas Reference Guide
Download DAX Formula Reference Guide
Membership