COS

Updated on

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.

Return Values

Returns the cosine of the given angle.

Remarks

If the angle is in degrees, either multiply the angle by PI()/180 or use the RADIANS function to convert the angle to radians.

Example

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:

Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/dax/cos-function-dax

2023-2024 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy