Please note javascript is required for full website functionality.

Blog

Power Pivot Principles: The A to Z of DAX Functions – DEGREES

18 April 2023

In our long-established Power Pivot Principles articles, we continue our series on the A to Z of Data Analysis eXpression (DAX) functionsThis week, we look at DEGREES.

 

The DEGREES function

The DEGREES function is one of the mathematics and trigonometry functions.  It converts radians into degrees.  It has the following syntax:

DEGREE(angle)

It has one [1] argument in the syntax:

  • angle: this is required.  It is an angle in radians that you want to convert.

As an example, we have the following data table name Radians:

We can write the follow DAX code to convert the radians into degrees:

Which results in the following table:

In similar fashion, you may also create a measure for this function to convert the radians into degrees:

This measure will return 360 degrees as a “2π” equivalent:

Come back next week for our next post on Power Pivot in the Blog sectionIn the meantime, please remember we have training in Power Pivot which you can find out more about hereIf you wish to catch up on past articles in the meantime, you can find all of our Past Power Pivot blogs here.

Newsletter