ACOTH DAX Function (Math and Trig)

Returns the inverse hyperbolic cotangent of a number.

Syntax

ACOTH ( <Number> )
Parameter Attributes Description
Number

The absolute value of Number must be greater than 1.

Return values

Scalar A single decimal value.

Examples

--  SINH, COSH, ASINH, ACOSH, TANH, ATANH, COTH, ACOTH
--  are the standard hyperbolic trigonometrical functions.
--
--  Where required, the arguments are specified in radians.
DEFINE
    VAR Vals = GENERATESERIES ( -PI()+0.001, PI(), PI()/4 )
EVALUATE
    ADDCOLUMNS (
        Vals,
        "Value (nπ)",
            VAR ImproperQuartersOfPi = ROUND ( ABS ( [Value] / PI () * 4 ), 0 )
            VAR WholePis = ROUNDDOWN ( ImproperQuartersOfPi / 4, 0 )
            VAR ProperQuartersOfPi = MOD ( ImproperQuartersOfPi, 4 )
            RETURN
                IF ( ROUND ( [Value], 0 ) < 0, "-" )
                    & IF ( WholePis <> 0 && ImproperQuartersOfPi <> 4, WholePis )
                    & IF ( ProperQuartersOfPi <> 0, UNICHAR ( 187 + ProperQuartersOfPi ) )
                    & IF ( ImproperQuartersOfPi = 0, "0", "π" ),
        "SINH",      SINH ( [Value] ),
        "ASINH",     ASINH ( SINH ( [Value] ) ),
        "COSH",      COSH ( [Value] ),
        "ACOSH",     ACOSH ( COSH ( [Value] ) ),
        "TANH",      TANH ( [Value] ),
        "ATANH",     ATANH ( TANH ( [Value] ) ),
        "COTH",      COTH ( [Value] ),
        "ACOTH",     ACOTH ( COTH ( [Value] ) )
    )
Value Value (nπ) SINH ASINH COSH ACOSH TANH ATANH COTH ACOTH
-3.14 -11.54 -3.14 11.58 3.14 -1.00 -3.14 -1.00 -3.14
-2.36 -¾π -5.22 -2.36 5.32 2.36 -0.98 -2.36 -1.02 -2.36
-1.57 -½π -2.30 -1.57 2.51 1.57 -0.92 -1.57 -1.09 -1.57
-0.78 -¼π -0.87 -0.78 1.32 0.78 -0.66 -0.78 -1.53 -0.78
0.00 0 0.00 0.00 1.00 0.00 0.00 0.00 1,000.00 0.00
0.79 ¼π 0.87 0.79 1.33 0.79 0.66 0.79 1.52 0.79
1.57 ½π 2.30 1.57 2.51 1.57 0.92 1.57 1.09 1.57
2.36 ¾π 5.23 2.36 5.33 2.36 0.98 2.36 1.02 2.36

Last update: Mar 13, 2024   » Contribute   » Show contributors

Contributors: Alberto Ferrari, Marco Russo, Kenneth Barber,

Microsoft documentation: https://docs.microsoft.com/en-us/dax/acoth-function-dax

2018-2024 © SQLBI. All rights are reserved. Information coming from Microsoft documentation is property of Microsoft Corp. » Contact us   » Privacy Policy & Cookies

Context Transition

This function performs a Context Transition if called in a Row Context. Click to read more.

Row Context

This expression is executed in a Row Context. Click to read more.

Iterator

Not recommended

The use of this function is not recommended. See Remarks and Related functions for alternatives.

Not recommended

The use of this parameter is not recommended.

Deprecated

This function is deprecated. Jump to the Alternatives section to see the function to use.

Volatile

A volatile function may return a different result every time you call it, even if you provide the same arguments. Click to read more.

Deprecated

This parameter is deprecated and its use is not recommended.

DirectQuery compatibility

Limitations are placed on DAX expressions allowed in measures and calculated columns.
The state below shows the DirectQuery compatibility of the DAX function.

Contribute

Want to improve the content of ACOTH? Did you find any issue?
Please, report it us! All submissions will be evaluated for possible updates of the content.


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.