COS is a DAX function that returns the cosine of a given angle.
Syntax
COS( Number )
Argument | Properties | Description |
---|---|---|
Number | The angle in radians for which you want the cosine. |
COS is a DAX function that returns the cosine of a given angle.
COS( Number )
Argument | Properties | Description |
---|---|---|
Number | The angle in radians for which you want the cosine. |
Returns the cosine of the given angle.
If the angle is in degrees, either multiply the angle by PI()/180 or use the RADIANS function to convert the angle to radians.
Formula | Description | Result |
---|---|---|
= COS(1.047) |
Cosine of 1.047 radians | 0.5001711 |
= COS(60*PI()/180) |
Cosine of 60 degrees | 0.5 |
= COS(RADIANS(60)) |
Cosine of 60 degrees | 0.5 |
Other functions related to COS are:
2023-2024 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy