DEGREES DAX Function (Math and Trig)
Converts radians into degrees.
Syntax
Parameter | Attributes | Description |
---|---|---|
Number |
The angle in radians that you want to convert. |
Return values
Examples
-- RADIANS and DEGREES convert one unit of measure -- in the other one, for angles. DEFINE VAR Vals = GENERATESERIES ( -PI(), PI(), PI()/4 ) EVALUATE ADDCOLUMNS ( Vals, "DEGREES", DEGREES( [Value] ), "RADIANS", RADIANS ( DEGREES ( [Value] ) ) )
Value | DEGREES | RADIANS |
---|---|---|
-3.14 | -180 | -3.14 |
-2.36 | -135 | -2.36 |
-1.57 | -90 | -1.57 |
-0.79 | -45 | -0.79 |
0.00 | 0 | 0.00 |
0.79 | 45 | 0.79 |
1.57 | 90 | 1.57 |
2.36 | 135 | 2.36 |
3.14 | 180 | 3.14 |
Related functions
Other related functions are:
Last update: Nov 14, 2024 » Contribute » Show contributors
Contributors: Alberto Ferrari, Marco Russo
Microsoft documentation: https://docs.microsoft.com/en-us/dax/degrees-function-dax