Forum Discussion
OSAdmin
5 years agoValued Contributor
Originally posted by Puja Patel
If you put in the time period value in the 'Static Value' setting under Logical Expression and Override Settings, the system will know which time to use (e.g. 2020M1 for Period 1). If you want to make it dynamic to use year over year, change your Logical Operator to 'Complex Expression' and use the following:
Dim sYear As String = TimeDimHelper.GetYearFromId(api.WorkflowUnitPk.TimeKey).ToString
Return sYear & "M1"
where you change Mx to the period for each of your Time Source Dimensions.
Related Content
- 3 years ago
- 12 months ago
- 5 months ago