# How to make tag history binding dynamic?

**URL:** <https://forum.inductiveautomation.com/t/how-to-make-tag-history-binding-dynamic/81290>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [November 1, 2023, 8:32am UTC](https://forum.inductiveautomation.com/t/how-to-make-tag-history-binding-dynamic/81290 "2023-11-01T08:32:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruchika](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@Ruchika](https://forum.inductiveautomation.com/u/Ruchika)\
**Post date:** [November 1, 2023, 8:32am UTC](https://forum.inductiveautomation.com/t/how-to-make-tag-history-binding-dynamic/81290/1 "2023-11-01T08:32:34Z")

</div>

Hello  
I have a dropdown for Press Selection and an TimeSeries Chart. I am binding the TimeSeriesChart series data as Tag History Binding. I want the binding to be dynamic based on the press selection in the dropdown.  
How can I make it work ?

---

<div class="post-metadata">

**Author:** ![Learner\_Ignition](https://avatars.discourse-cdn.com/v4/letter/l/b3f665/32.png) [@Learner\_Ignition](https://forum.inductiveautomation.com/u/Learner_Ignition)\
**Post date:** [November 1, 2023, 9:21am UTC](https://forum.inductiveautomation.com/t/how-to-make-tag-history-binding-dynamic/81290/2 "2023-11-01T09:21:29Z")

</div>

Hello,  
Hope the below link helps.

[https://docs.inductiveautomation.com/display/DOC81/Tag+History+Bindings+in+Perspective#:~:text=expand%20the%20columns.-,Using%20Dynamic%20Tag%20Paths,-Tag%20History%20bindings](https://docs.inductiveautomation.com/display/DOC81/Tag+History+Bindings+in+Perspective#:~:text=expand%20the%20columns.-,Using%20Dynamic%20Tag%20Paths,-Tag%20History%20bindings)

---

<div class="post-metadata">

**Author:** ![Ruchika](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@Ruchika](https://forum.inductiveautomation.com/u/Ruchika)\
**Post date:** [November 1, 2023, 12:39pm UTC](https://forum.inductiveautomation.com/t/how-to-make-tag-history-binding-dynamic/81290/3 "2023-11-01T12:39:51Z")

</div>

Thanks, I read that but I am unable to understand how I can make it work based on the press selection that I am doing in the dropdown.

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [November 1, 2023, 2:57pm UTC](https://forum.inductiveautomation.com/t/how-to-make-tag-history-binding-dynamic/81290/4 "2023-11-01T14:57:19Z")

</div>

In the manual they lay out the shape that an object needs to take in order to be used as an expression for the tag history binding. Once you have created a custom property with this shape, you can then use traditional bindings to dynamically modify the tag path, aggregate, or alias as needed for your application.

---

<div class="post-metadata">

**Author:** ![Learner\_Ignition](https://avatars.discourse-cdn.com/v4/letter/l/b3f665/32.png) [@Learner\_Ignition](https://forum.inductiveautomation.com/u/Learner_Ignition)\
**Post date:** [November 2, 2023, 3:23am UTC](https://forum.inductiveautomation.com/t/how-to-make-tag-history-binding-dynamic/81290/5 "2023-11-02T03:23:20Z")

</div>

with respect to dropdown selection, you need to pass the tagpath as value and bind that tagpath to **path**.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/2/d23e8ea2f9e26a05f63a7f0a255dbb1cd0873066.png)
