PREVIOUS

The PREVIOUS function is relevant only for interrow calculations. It can be used only in the model_clause of the SELECT statement and then only in the ITERATE ... [ UNTIL] clause of the model_rules_clause. It returns the value of cell_reference at the beginning of each iteration.