RADIANS DAX Function (Math and Trig)
Converts degrees to radians.
Syntax
Parameter | Attributes | Description |
---|---|---|
Number |
An angle in degrees that you want to convert. |
Return values
Value of Number in degrees converted to radians.
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/radians-function-dax