@isfore

Definition

Is a forecasted period.

A relative reference in @if statements.

Forecast periods are determined by the historical/forecast boundary set in Defining, Deleting, and Displaying Time Periods.

Returns

Example

If a model contains 6 years starting in 2006, with the first year historical, then the remaining years, 2007–2011, are forecast. This formula:

@if(@isfore, 1, 2)

returns 1 for 2006, and 2 for the other years.