PrevYearValue

Syntax

PrevYearValue or
PrevYearValue(Branch:VariableName)

Description

Calculates the previous year's value of either the current branch and variable or of another branch or variable referred to as a parameter to the function. This function is not available when entering Current Accounts.

Examples

10+PrevYearValue

Evaluated for a value of 100 in 2000

2001 = 110
2002 = 120
2003 = 130

0.3 * PrevYearValue(Demand Sites\West City)

Will return 30% of the previous year value for Demand Sites\West City.

Note: PrevTSValue(Branch:VariableName, 12) is equivalent to PrevYearValue(Branch:VariableName).  However, annual variables, such as Annual Activity Level, cannot use PrevTSValue.