Updated on

Number.Power is a Power Query M function that raises a given number to the power of another number. The function returns the result of the exponentiation or null if either the base or exponent are null.

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


   number as nullable number,
   power as nullable number,
) as nullable number


Returns the result of raising number to the power of power. If number or power are null, Number.Power returns null.

  • number: The base.
  • power: The exponent.


Find the value of 5 raised to the power of 3 ( 5 cubed ).

// Output: 125
Number.Power( 5, 3 )

Other functions related to Number.Power are:

Contribute » | Contributors: Rick de Groot
Microsoft documentation: