TANH

Updated on

TANH is a DAX function that returns the hyperbolic tangent of a number.

Syntax

TANH( Number )
Argument Properties Description
Number Any real number.

Return Values

Returns the hyperbolic tangent of a number.

Remarks

  • The formula for the hyperbolic tangent is:

    TANH(z)=SINH(z)COSH(z)

  • This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.

Example

Formula Description Result
= TANH(-2) Hyperbolic tangent of -2 (-0.96403) -0.964028
= TANH(0) Hyperbolic tangent of 0 (0) 0
= TANH(0.5) Hyperbolic tangent of 0.5 (0.462117) 0.462117

Other functions related to TANH are:

Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/dax/tanh-function-dax

2023-2024 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy