LastChild

Syntax

Member_Expression.LastChild

Input Parameters

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

Return Value

Returns the last child of a specified member. The ordering is determined by the attribute's OrderBy configuration.

Example

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

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