Returns a member from a prior period in the same relative position as a specified member.
ParallelPeriod([«Level»[, «Numeric Expression»[, «Member»]]])
This function is similar to the Cousin function, but is more closely related to time series. It takes the ancestor of «Member» at «Level» (call it ancestor); then it takes the sibling of ancestor that lags by «Numeric Expression», and returns the parallel period of «Member» among the descendants of that sibling.
This function has the following defaults:
This function is equivalent to Cousin(Member,Lag(Ancestor(Member,Level),Numeric Expression).
The following table lists different examples of how you can use this function.
Expression | Returns |
---|---|
|
|
|
The parallel period of Time.CurrentMember, two years ago.
That is, if Time.CurrentMember is [1993June], the returned member is |
|
The parallel period of Time.CurrentMember from last year.
That is, if Time.CurrentMember is [1993June], the returned member is |
|
The parallel period in the immediately prior sibling to the parent of Time.CurrentMember.
For example, if Time.CurrentMember is [1993June], the returned member is |