TANH Function (DAX)

How does the TANH function (DAX) work?

The TANH function (DAX) returns the hyperbolic tangent of a number.

TANH Formula Syntax

TANH(
     number
)

How do you use the TANH function?

This function will calculate the hyperbolic tangent (tanh) of a supplied number.

Related Blog Posts

Related Support Forum Posts

Dax Calculation question
Dax not working
DAX Buffer Calculation Query

Considerations when using the TANH function

  1. The function returns the #VALUE! Error, if the argument to the function is non numeric.
  2. The input number is the angle in radians.
  3. If you want the result in degrees, multiply the result by 180/PI ().
  4. If the argument provided is in degrees, first multiply the number in degrees by PI ()/180 to convert it into radians.

Related Video Tutorials

Formula examples using the TANH function

=TANH(-2)

=TANH(0)

=TANH(0.5)

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.