# Set Start and End Date Easy Chart from Dropdown List dataset

**URL:** <https://forum.inductiveautomation.com/t/set-start-and-end-date-easy-chart-from-dropdown-list-dataset/62737>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [August 5, 2022, 8:47pm UTC](https://forum.inductiveautomation.com/t/set-start-and-end-date-easy-chart-from-dropdown-list-dataset/62737 "2022-08-05T20:47:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rroca](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@rroca](https://forum.inductiveautomation.com/u/rroca)\
**Post date:** [August 5, 2022, 8:47pm UTC](https://forum.inductiveautomation.com/t/set-start-and-end-date-easy-chart-from-dropdown-list-dataset/62737/1 "2022-08-05T20:47:37Z")

</div>

I have a Dropdown List in which I have dates in two columns, how can I make an Easy Chart take the start and end date from the Dropdown List dataset when a value is selected?  
This is the Dataset of the Dropdown List:

 ![Dropdown List Data](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/0/80b29f83af1b08006d6d60a602015d8660560c58.png)

---

<div class="post-metadata">

**Author:** ![Beatriz\_Martinez](https://avatars.discourse-cdn.com/v4/letter/b/e56c9b/32.png) [@Beatriz\_Martinez](https://forum.inductiveautomation.com/u/Beatriz_Martinez)\
**Post date:** [August 16, 2022, 10:41pm UTC](https://forum.inductiveautomation.com/t/set-start-and-end-date-easy-chart-from-dropdown-list-dataset/62737/2 "2022-08-16T22:41:40Z")

</div>

Hi rroca,  
I was able to find a way to grab the date from a drop down dataset, you will have to use an expression that reads the start or end date and bind those to the easy chart's Start Date and End Date.

Here's an example of the expression binding:  
{Root Container.Dropdown.data}[{Root Container.Dropdown.selectedIndex}, "inicio"]

For references:

> [@Expression to get value from dataset](https://forum.inductiveautomation.com/t/expression-to-get-value-from-dataset/37856):
>
> Very simple question. I’m sure the answer is simple too. Is there an expression function to read a value from a dataset? Something like getValueAt in Python. Thanks.
