This documentation is archived and is not being maintained.

LN Function (DAX)

Returns the natural logarithm of a number. Natural logarithms are based on the constant e (2.71828182845904).


LN(<number>)

Term

Definition

number

The positive number for which you want the natural logarithm.

A decimal number.

LN is the inverse of the EXP function.

The following example returns the natural logarithm of the number in the column, [Values].

=LN([Values])
Show: