Number.Cos is a Power Query M function that calculates the cosine of a given number. The function returns the cosine value of the input number.

Compatible with: Power BI Service Power BI Desktop Excel Microsoft 365


Number.Cos( number as nullable number ) as nullable number


Returns the cosine of number.


Find the cosine of the angle 0.

// Output: 1
Number.Cos( 0 )

Other functions related to Number.Cos are:

BI Gorilla Blog

Last update: August 25, 2023 | Contribute » | Contributors: Rick de Groot
Microsoft documentation:
© 2023 BI Gorilla. All rights reserved. Content derived from Microsoft documentation is property of Microsoft Corp.