# Update variable from panel

**URL:** <https://community.grafana.com/t/update-variable-from-panel/90512>\
**Category:** Dashboards\
**Tags:** dashboard-variables\
**Created:** [June 28, 2023, 10:58am UTC](https://community.grafana.com/t/update-variable-from-panel/90512 "2023-06-28T10:58:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielvamos](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@danielvamos](https://community.grafana.com/u/danielvamos)\
**Post date:** [June 28, 2023, 10:58am UTC](https://community.grafana.com/t/update-variable-from-panel/90512/1 "2023-06-28T10:58:19Z")

</div>

Hey,

I am looking for a solution to update a variable from panel. In my case, custom variable is available for the viewer to enter a limit to filter the result for a given timeSeries chart. I dont want to put this textField to the top of the dashboard, instead I would put this input field next to the chart.

In general, when I have multiple panles on a dashboard and I would like to provide a parameter for a given panel, I don’t want to put this variable on the top of the screen, because it is not related to all panels, only one of them.

Can I ask you some idea, how to update / edit a variable from a panel?

---

<div class="post-metadata">

**Author:** ![sowdenraymond](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/sowdenraymond/32/59065_2.png) [@sowdenraymond](https://community.grafana.com/u/sowdenraymond)\
**Post date:** [March 28, 2024, 12:21pm UTC](https://community.grafana.com/t/update-variable-from-panel/90512/2 "2024-03-28T12:21:26Z")

</div>

this is very useful:

> **[Variable plugin for Grafana | Grafana Labs](https://grafana.com/grafana/plugins/volkovlabs-variable-panel/)**
>
> Update single, dependent and multi-variables as a Table and Tree View

lets you put the variables next to the required panels

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/6/e/6ec0d5a83a97fa24bef56f5e3cf5d62add90fbe4.png)

and then you can reference them as you would normal variables

![image](https://us1.discourse-cdn.com/grafana/original/3X/0/6/06f5f1e4b507fd94bed61b8e8117b0ea102fd0b1.png)
