DAX Math & Trigonometric - COS function



Description

Returns the cosine of the given angle. DAX COS function is new in Excel 2016.

Syntax

COS (<number>) 

Parameters

Sr.No. Parameter & Description
1

number

The angle in radians for which you want the cosine.

Return Value

The cosine of the given angle.

Remarks

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

Example

= COS (RADIANS (60)) returns 0.5. 
= COS (RADIANS (30)) returns 0.866025403784439 
dax_functions_mathematical_trigonometric.htm
Advertisements