Definition
Period number (starting from the first forecasted time period).
This function walks through the aggregates and input columns. The last historical time column is 0 and increases by 1 each column following.
Returns
True if the period number equals that of a number in an @if function.
Example
@if(@period= 2, 1, 2)
Returns 1 when reaching the second forecasted time column.