PrevMember
Returns the previous member in the level that contains a specified member.
Syntax
CODE
Member_Expression.PrevMember
Arguments
Member_Expression | MDX expression that returns a member. |
---|
Examples
Following example returns previous month.
CODE
[Time].[Month].CurrentDateMember.PrevMember
Members of Time dimension are created dynamically only for dates that have some data. For example if current month is January and previous data is saved only in October, [Time].[Month].CurrentDateMember.PrevMember
will return October.