The {2} value expression for the {0} {1}' uses the Previous aggregate function. Previous cannot be used in variable value ...