LEN

LEN

Description:

This function is used to return the number of characters of the specified string expression.

Syntax:

LEN(String_Expression)

Return type:

SCALAR

Parameters:

Parameter

Description

Parameter

Description

String_Expression

It is a valid MDX expression that returns a string scalar value on which LEN function is to be applied.

Example:

WITH MEMBER [Measures].[X] AS LEN("EXAMPLE") SELECT [Measures].[X] ON 0 FROM [AdventureWorksMF]

Copyright Kyvos, Inc. 2026. All rights reserved.