TAN Function (DAX)

How does the TAN function (DAX) work?

The TAN function (DAX) returns the tangent of the given angle.

TAN Formula Syntax

TAN(
     number
)

How do you use the TAN function?

The TAN function expects radians. To supply an angle to TAN in degrees, multiply the angle by PI()/180 or use the RADIANS function to convert to radians.

Related Blog Posts

Related Support Forum Posts

Finding the closet group of friends in classroom
Dynamic building of dimension tables after the import of csv files from folder
Confusion in using “Thin and Long Fact Table”

Considerations when using the TAN function

If your argument is in degrees, multiply it by PI()/180 or use the RADIANS function to convert it to radians.

Related Video Tutorials

Formula examples using the TAN function

=TAN(0.785)

=TAN(45*PI()/180)

=TAN(RADIANS(45))

Related Course Modules

Ultimate-Beginners-Guide-To-PowerBI

DOWNLOAD

To access our comprehensive DAX formula reference guide just insert your email address below. The resource will download immediately and we’ll also email it to you.