LASTCHILD

LASTCHILD

Description:

This function is used to return the last child of a specified member.

Syntax:

Member_Expression.LastChild

Return Type:

MEMBER

Parameters:

Parameter

Description

Parameter

Description

Member_Expression

It is a valid MDX expression that returns a member.

Example:

SELECT [Measures].[Internet Order Quanlity] on 0, [Customer].[Geography].[Country].&[Germany].LastChild ON 1 FROM [AdventureWorksMF]

Copyright Kyvos, Inc. 2026. All rights reserved.