RTRIM

RTRIM

Description:

The MDX RTrim() function trims all whitespace on the right side of a string.

Syntax:

RTrim ( 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 RTrim function is to be applied.

Example:

WITH MEMBER [Measures].[Result] AS RTrim("STRING ") SELECT [Measures].[Result] ON 0 FROM [CubeName]

Copyright Kyvos, Inc. 2026. All rights reserved.