DAX Math & Trigonometric - COS function


Advertisements

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

Useful Video Courses


Video

Mastering DAX and Data Models in Power BI Desktop

53 Lectures 5.5 hours

Abhay Gadiya

Video

Mastering DAX Studio

Featured

24 Lectures 2 hours

Randy Minder

Video

DAX / Power BI - Customer and Sales Analysis Deep Dive

26 Lectures 4.5 hours

Randy Minder

Advertisements