# Rollfoward does not work

**URL:** <https://community.silverfin.com/t/rollfoward-does-not-work/2607>\
**Category:** Templates\
**Created:** [January 15, 2026, 3:43pm UTC](https://community.silverfin.com/t/rollfoward-does-not-work/2607 "2026-01-15T15:43:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![svalais](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/svalais/32/2422_2.png) [@svalais](https://community.silverfin.com/u/svalais)\
**Post date:** [January 15, 2026, 3:43pm UTC](https://community.silverfin.com/t/rollfoward-does-not-work/2607/1 "2026-01-15T15:43:26Z")

</div>

Hello,

I have built a new disclosure and in this disclosure I have worked with the function rollforward but this does not seem to work.

Here you will find the code that I used.

```auto
{% stripnewlines %}
| 
| 
|
{% newline %}
|---35%-----
|---15%-----
|---50%-----+
{% newline %}
|] **Periodicity**
|] {% input custom.VAT_Check.Periodicity as:select options:"Month|Quarter" option_values:"1|2" default:custom.VAT_Check.Periodicity %} {% rollforward period.custom.VAT_Check.Periodicity custom.VAT_Check.Periodicity %}
|] 
[{% newline %}
|] **VAT-unity**
|] {% input custom.VAT_Check.VATUnity as:select options:"Yes|No" option_values:"1|2" default:custom.VAT_Check.VATUnity %} {% rollforward period.custom.VAT_Check.VATUnity custom.VAT_Check.VATUnity %}
|] {% input custom.VAT_Check.VATUnity_Name as:text placeholder:'Name VAT-unity' default:custom.VAT_Check.VATUnity_Name %} {% rollforward period.custom.VAT_Check.VATUnity_Name custom.VAT_Check.VATUnity_Name %}
[{% newline %}
|] **VAT-ratio?**
|] {% input custom.VAT_Check.VATRatio as:select options:"Yes|No" option_values:"1|2" default:custom.VAT_Check.VATRatio %} {% rollforward period.custom.VAT_Check.VATRatio custom.VAT_Check.VATRatio %}
|] {% input custom.VAT_Check.VATRation_Remark as:text placeholder:'Remarks regarding VAT-ratio' default:custom.VAT_Check.VATRation_Remark %} {% rollforward period.custom.VAT_Check.VATRation_Remark custom.VAT_Check.VATRation_Remark %}
[{% newline %}
|] **VAT info fiche**
|] 
|] {% input custom.VAT_Check.VATInfoFiche_Link as:text placeholder:'Add link existing VAT info fiche ' %} {% rollforward nil custom.VAT_Check.VATInfoFiche_Link %}
[{% newline %}
]_
|]_
|]_
[{% endstripnewlines %}

```

Can you tell me what I’m doing wrong?

Thanks a lot,

Sylvie

---

<div class="post-metadata">

**Author:** ![svalais](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/svalais/32/2422_2.png) [@svalais](https://community.silverfin.com/u/svalais)\
**Post date:** [January 16, 2026, 9:15am UTC](https://community.silverfin.com/t/rollfoward-does-not-work/2607/2 "2026-01-16T09:15:14Z")

</div>

Problem solved.

---

<div class="post-metadata">

**Author:** ![Delphine\_Demeulenaer](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/delphine_demeulenaer/32/2374_2.png) [@Delphine\_Demeulenaer](https://community.silverfin.com/u/Delphine_Demeulenaer)\
**Post date:** [January 21, 2026, 10:59am UTC](https://community.silverfin.com/t/rollfoward-does-not-work/2607/3 "2026-01-21T10:59:40Z")

</div>

Hi @svalais !

Nice to hear you got it working! Looking over your code, it seems the issue might have been related to a syntax error. Is that what you found?

It seems to me that you have the parameters reversed. For example:

`{% rollforward period.custom.VAT_Check.Periodicity custom.VAT_Check.Periodicity %}`

This is trying to rollforward **from** `period.custom.VAT_Check.Periodicity` **to** `custom.VAT_Check.Periodicity`, but `period.custom` already **is** the current period’s custom data. You’re essentially trying to copy something to itself.

The rollforward tag should reference the **previous period** as the source. The correct syntax is:

`{% rollforward custom.VAT_Check.Periodicity %}`

Or if you need to specify both source and target explicitly:

`{% rollforward period.` **`minus_1y`** `.custom.VAT_Check.Periodicity custom.VAT_Check.Periodicity %}`

Kind regards

Delphine
