Skip to main content
Version: I2023.1.0

LastSibling

Syntax

Member_Expression.LastSibling

Input Parameters

Member_Expression
A valid Multidimensional Expression (MDX) that returns a member.

Return Value

Returns the last child of the parent of a member, otherwise known as the member's last sibling. The ordering is determined by the attribute's OrderBy configuration.

Example

Return the Sales Amount for the date dimension currentMember's last sibling.

([DateCustom].[Retail445].CurrentMember.LastSibling, [Measures].[Internet Sales Amount Local])