@ishist

Definition

Is a historical period

A relative reference in @if statements.

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

Returns

  • True—if the period is a historical

  • False—if not

Example

If a model contains 6 years starting in 2006 and the first year if historical, then 2007–2012 are forecast. This formula:

@if(@ishist, 1, 2)

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