Use relative periods as date members in your Multi Dimensional Calculation rules.
This allows line items in the rule to reference either:
- Previous Periods
- Previous Closing Periods
This is done by creating system date members.
The two system date members have been created:
- PrevClosing: it's with respect to the current date and retrieves the previous year's 12th month.
- Set Tags to #OPENING#.
- Type -1 for the Year property.
- Type 12 for the Month property.
- PrevMonth: It's with respect to the current date and retrieves the previous month.
- Set Tags to #PREVMONTH#
- Type -1 for the Month property.
For example:
| Date | Value |
| CurrentDate | 2024 Mar |
| PrevClosing | 2023 Dec |
| PrevMonth | 2024 Feb |
Note: If the date is 2024 Jan and PrevMonth = -1, then the relative date would be 2023 Dec.
These relative dates can then be used in the Multi Dimensional Calculation.
