LN

LN

Description:

This function returns the natural log of the mentioned scalar value.

Syntax:

LN(Scalar_Expression)

Return Type:
SCALAR

Parameters:

Parameter

Description

Parameter

Description

Scalar_Expression

It is a valid MDX expression that returns a scalar value.

Example:

WITH MEMBER [Measures].[Log Sales] AS LN([Measures].[Internet Sales Amount]) SELECT {[Measures].[Internet Sales Amount], [Measures].[Log Sales]} ON COLUMNS, [Product].[Product Categories].[Category].Members ON ROWS FROM [AdventureWorksMF_ValueBased]

 

Copyright Kyvos, Inc. 2026. All rights reserved.