# Templated variable on "Now delay" setting

**URL:** <https://community.grafana.com/t/templated-variable-on-now-delay-setting/2607>\
**Category:** Configuration\
**Tags:** templating\
**Created:** [September 5, 2017, 3:08pm UTC](https://community.grafana.com/t/templated-variable-on-now-delay-setting/2607 "2017-09-05T15:08:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anagoncalves](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@anagoncalves](https://community.grafana.com/u/anagoncalves)\
**Post date:** [September 5, 2017, 3:08pm UTC](https://community.grafana.com/t/templated-variable-on-now-delay-setting/2607/1 "2017-09-05T15:08:18Z")

</div>

Hi,

I had a dashboard with “Now delay” set with a templated variable (Grafana 4.4.1). As far I remember, it was working.  
After an upgrade to Grafana 4.4.3, the dashboard does not work anymore.

Message:  
Cannot read property ‘subtract’ of undefined

Is it possible to set a templated variable on “Now delay” ?

---

<div class="post-metadata">

**Author:** ![torkel](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/torkel/32/20_2.png) [@torkel](https://community.grafana.com/u/torkel)\
**Post date:** [September 6, 2017, 1:11pm UTC](https://community.grafana.com/t/templated-variable-on-now-delay-setting/2607/2 "2017-09-06T13:11:19Z")

</div>

you mean you have used a variable in the now delay field?

---

<div class="post-metadata">

**Author:** ![anagoncalves](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@anagoncalves](https://community.grafana.com/u/anagoncalves)\
**Post date:** [September 6, 2017, 3:07pm UTC](https://community.grafana.com/t/templated-variable-on-now-delay-setting/2607/3 "2017-09-06T15:07:56Z")

</div>

well… kind of.  
a coworker said it had a working dashboard with a templated variable set on “now delay”, and that this dashboard stopped working after the Grafana update.

I just wanted to figure out if it was supposed to work (the dash board with the “now delay” configured with a templated variable). I didn’t find anything saying that it should (or that it shouldn’t) work in the documentation.

Sorry if it is a silly question.  
Thanks.
