# Refresh template variable when other template variable changes - fail sometimes

**URL:** <https://community.grafana.com/t/refresh-template-variable-when-other-template-variable-changes-fail-sometimes/23149>\
**Category:** Grafana\
**Created:** [November 21, 2019, 8:30am UTC](https://community.grafana.com/t/refresh-template-variable-when-other-template-variable-changes-fail-sometimes/23149 "2019-11-21T08:30:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![castaignededamien](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@castaignededamien](https://community.grafana.com/u/castaignededamien)\
**Post date:** [November 21, 2019, 8:30am UTC](https://community.grafana.com/t/refresh-template-variable-when-other-template-variable-changes-fail-sometimes/23149/1 "2019-11-21T08:30:56Z")

</div>

Hello,

From what I found here :

> <https://github.com/grafana/grafana/issues/9357>
>
> Would be useful to be able to update template variables/dropdowns when another fields change.
> Example (using CloudWatch):
> The variable for ASG is defined...

A template variable is supposed to refresh when the parent variable changes…  
It works most of the time for me, but for one it doesn’t.

Both parent and child are query type, and I tried the 3 refresh modes for the child.  
My only way to have this variable refreshed is to go edit it and just update.

Can you give me a hint on this ?

Thanks
