SetPeriod(StartDate: Variant, EndDate: Variant)
StartDate. Period start date
EndDate. Period end date.
It creates period by specified data.
For the method correct work, period start date should be less than period end date.
SetPeriod can be used to set up calculation period in arithmetic methods where data array is the input parameter. To set calculation period, determine SetPeriod in any array place, for example:
Average({Albania|BCA[t]}, SetPeriod(2000,2010))
The mean value of the {Albania|BCA[t]} series will be found for the period from 2000 to 2010.
The function use is given in the example for the Median function.
See also:
Functions Available in Expression Editor │ Other Functions │ IModelling.SetPeriod