Skip to content

Log

Description

Log returns the logarithm of a number with the specified base.

Syntax

Log(value, base)

Parameters

Parameter Required Type Description
value Yes Number, field, or expression Positive numeric value.
base Yes Number Logarithm base.

Notes

Use this function in calculated fields, metric expressions, or query expressions where the function category is supported.

Example

Log(SalesAmount, 2)

The expression returns the calculated result according to the current query context.