LN Function (DAX)

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

LN(<number>)

Parameters

Term

Definition

number

The positive number for which you want the natural logarithm.

Return Value

A number (R8).

Remarks

LN is the inverse of the EXP function.

Example

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

=LN([Values])

See Also

Other Resources

Math and Trigonometric Functions (DAX)

EXP Function (DAX)