Export (0) Print
Expand All
Avg
IIf
Lag
Max
Min
Mtd
Qtd
Sum
Var
Wtd
Ytd
Expand Minimize

NextMember (MDX)

Updated: 17 July 2006

Returns the next member in the level that contains a specified member.


Member_Expression.NextMember 

Member_Expression

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

The NextMember function returns the next member, in the same level, that contains the specified member.

Example

The following example returns the August 2001 member as the next member to the July 2001 member.

SELECT [Date].[Calendar].[Month].[July 2001].NextMember ON 0
FROM [Adventure Works]

Release History

17 July 2006

Changed content:
  • Updated syntax and arguments to improve clarity.
  • Added updated examples.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft