Skip to main content
Version: I2023.1.0

Log2

Syntax​

Log2(Numeric_Expression)

Input Parameters​

Numeric_Expression
A valid Measure expression of type double or a double literal that evaluates to a nonzero and non-negative value.

Return Value​

Returns the base 2 logarithm of the specified number or expression.

Examples​

Return the base 2 logarithm of the sales amount measure

Log2([Measures].[Internet Sales Amount Local])