COSH
Applies to: Calculated column Calculated table Measure Visual calculation
Returns the hyperbolic cosine of a number.
Syntax
COSH(number)
Parameters
Term | Definition |
---|---|
number |
Required. Any real number for which you want to find the hyperbolic cosine. |
Return value
The hyperbolic cosine of a number.
Remarks
The formula for the hyperbolic cosine is:
$$\text{COSH}(z) = \frac{e^{z} + e^{-z}}{2}$$
This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
Example
DAX expression | Description | Result |
---|---|---|
= COSH(4) |
Hyperbolic cosine of 4 | 27.308233 |
= COSH(EXP(1)) |
Hyperbolic cosine of the base of the natural logarithm. | 7.6101251 |