Skip to main content
Returns the logarithm of a number to a specified base Category: math Syntax:
Log([number_column], [base])
Returns: Float Context Filtering: ✓ Yes

Parameters

NameTypeRequiredDescription
numbernumber or column✓ YesThe number to compute the logarithm of
basenumber or column✓ YesThe base of the logarithm
Allowed Column Types for number: INT, FLOAT, DECIMAL Allowed Column Types for base: INT, FLOAT, DECIMAL

Validation

  • Minimum parameters: 2
  • Maximum parameters: 2

Examples

Log(100, 10)
Logarithm of 100 to base 10 Result: 2
Log([Value], 2)
Logarithm of each value to base 2
Last modified on March 13, 2026