- DAX Functions Tutorial
- DAX Functions - Home
- DAX Functions - Introduction
- DAX Parameter Naming Conventions
- Description Structure
- DAX Functions - Aggregation
- DAX Functions - Filter
- DAX Functions - Time Intelligence
- DAX Functions - Date and Time
- DAX Functions - Information
- DAX Functions - Logical
- Math & Trigonometric Functions
- DAX Functions - Parent & Child
- DAX Functions - Statistical
- DAX Functions - Text
- DAX Functions - Other
- DAX Functions Useful Resources
- DAX Functions - Quick Guide
- DAX Functions - Useful Resources
- DAX Functions - Discussion
DAX Math & Trigonometric - LOG function
Description
Returns the logarithm of a number to the base you specify.
Syntax
LOG (<number>, [<base>])
Parameters
Sr.No. | Parameter & Description |
---|---|
1 |
number The positive number for which you want the logarithm. |
2 | base Optional. The base of the logarithm. If omitted, default is 10. |
Return Value
A decimal number.
Remarks
You might receive an error, if the return value is too large to be displayed.
The DAX function LOG10 is similar, but always returns the common logarithm, i.e. the logarithm for the base 10.
Example
= LOG (5,10) returns 0.698970004336019. = LOG (5) returns 0.698970004336019.
dax_functions_mathematical_trigonometric.htm
Advertisements