Table of contents
TOC
Collapse the table of content
Expand the table of content

LN Function (DAX)

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

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

Syntax

LN(<number>)  

Parameters

TermDefinition
numberThe positive number for which you want the natural logarithm.

Return Value

A decimal number.

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

Math and Trig Functions (DAX)
EXP Function (DAX)

© 2018 Microsoft