# Cashflow Rollforward

**URL:** <https://community.silverfin.com/t/cashflow-rollforward/2432>\
**Category:** Templates\
**Tags:** rollforward\
**Created:** [June 19, 2023, 10:07am UTC](https://community.silverfin.com/t/cashflow-rollforward/2432 "2023-06-19T10:07:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Michiel](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/michiel/32/2364_2.png) [@Michiel](https://community.silverfin.com/u/Michiel)\
**Post date:** [June 19, 2023, 12:21pm UTC](https://community.silverfin.com/t/cashflow-rollforward/2432/2 "2023-06-19T12:21:46Z")

</div>

Hi @rory.grant ,

Currently I don’t see any column in your code related to the previous period.

However, if you will implement this you can indeed use rollforward. Let’s say you create variable `custom.[row_title_key].value_py` to refer to the value of the previous period. Your rollforward code can look like this:

```auto
{% rollforward custom.[row_title_key].value_cy custom.[row_title_key].value_py %}
{% rollforward nil custom.[row_title_key].value_cy %}

```

Keep in mind that default values are never part of a rollforward. If you want to be sure you have the same value as in the previous period, make sure to recreate the default that was used there.

You can find more information on the rollforward functionality [here](https://community.silverfin.com/t/case-rollforward-copy-details-with-destination-period/1268).

Kind regards,

Michiel

---

_[View the full topic](https://community.silverfin.com/t/cashflow-rollforward/2432)._
