COS Function (DAX)
Returns the cosine of the given angle.
COS(number)
Parameters
| Term | Definition |
|---|---|
| number | Required. 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 |
Community Additions
ADD
Show: