Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).
Returns the next member in the level that contains a specified member.
The NextMember function returns the next member, in the same level, that contains the specified member.
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]