Updated on

Number.Log10 is a Power Query M function that calculates the base 10 logarithm of a given number. The function returns the base 10 logarithm value or null if the input number is null.

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


Number.Log10( number as nullable number ) as nullable number


Returns the base 10 logarithm of a number, number. If number is null Number.Log10 returns null.


Get the base 10 logarithm of 2.

// Output: 0.3010299956639812
Number.Log10( 2 )

Other functions related to Number.Log10 are:

Contribute » | Contributors: Rick de Groot
Microsoft documentation: