LOG Function (DAX)

How does the LOG function (DAX) work?

The LOG function (DAX) returns a number’s logarithm to the base you determine.

LOG Formula Syntax

LOG(
     <number>,<base>
)

How do you use the LOG function?

The DAX function LOG10 is similar, but the common logarithm, i.e. the base 10 logarithm, always returns.

Related Blog Posts

Related Support Forum Posts

Understanding DAX Formula
Developing Complex Dax functions

Considerations when using the LOG function

If the return value is too large for display, you may receive an error.

Related Video Tutorials

Ultimate Beginners Guide to DAX
What-Is-DAX-Why-Do-You-Need-To-Learn-It-1.2-Ultimate-Beginner-Guide-to-DAX

Formula examples using the LOG function

= LOG (5,10) returns 0.698970004336019.

= LOG (5) returns 0.698970004336019.

Related DAX Functions

Related Course Modules

Ultimate-Beginners-Guide-To-PowerBI
Center of Excellence

DOWNLOAD


Download our comprehensive DAX Formula Reference Guide as perfect companion as you learn how to use DAX formulas within Power BI.


Download DAX Formulas Reference Guide
Download DAX Formula Reference Guide
Membership