Issue resolved for retreiving previous amount column. The previous column is just for records.
Its not used anywhere