Calculation to set the previous month's total as current month actual value

Hi,

Just look at solution, may be you get some help from it.

Regards,
Naveed Ali