LASTMEMBER

LASTMEMBER

Description:

The function is used to return the last member of the specified level.

Syntax:

Level_Expression.LastMember

Return Type:

MEMBER

Parameters:

Parameter

Description

Parameter

Description

Level_Expression

It is a valid MDX expression that returns a level.

Example:

select [Measures].[Internet Order Quanlity] on columns, [Customer].[Geography].[Country].LastMember on rows from [AdventureWorksMF_latest]

Copyright Kyvos, Inc. 2026. All rights reserved.