Events
Mar 31, 11 PM - Apr 2, 11 PM
The ultimate Fabric, AI, and SQL, Power BI community-led event. March 31 - April 2. Use code MSCUST for a $150 discount.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to:
Calculated column
Calculated table
Measure
Visual calculation
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])
Events
Mar 31, 11 PM - Apr 2, 11 PM
The ultimate Fabric, AI, and SQL, Power BI community-led event. March 31 - April 2. Use code MSCUST for a $150 discount.
Register today