Udostępnij za pośrednictwem


NextMember (MDX)

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

Syntax

Member_Expression.NextMember 

Arguments

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

Remarks

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]

See Also

Reference

MDX Function Reference (MDX)

Help and Information

Getting SQL Server 2005 Assistance

Change History

Release History

17 July 2006

Changed content:
  • Updated syntax and arguments to improve clarity.
  • Added updated examples.