Period number, starting from the first forecasted time period

This function counts the aggregates and input columns. The last historical time column is number 0, and each column number following increases by 1.


  • True—if the period number equals a number input in @if

  • False—if not


This formula:

@if(@period= 2, 1, 2)

executes (result: 1) after the formula reaches the second forecasted time column.