# Populating Table Dynamically based on Multi-select Dropdown(s)

**URL:** <https://forum.inductiveautomation.com/t/populating-table-dynamically-based-on-multi-select-dropdown-s/83145>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [December 14, 2023, 3:45pm UTC](https://forum.inductiveautomation.com/t/populating-table-dynamically-based-on-multi-select-dropdown-s/83145 "2023-12-14T15:45:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HelloWorld](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@HelloWorld](https://forum.inductiveautomation.com/u/HelloWorld)\
**Post date:** [December 14, 2023, 3:45pm UTC](https://forum.inductiveautomation.com/t/populating-table-dynamically-based-on-multi-select-dropdown-s/83145/1 "2023-12-14T15:45:58Z")

</div>

I currently have two single select dropdowns - one where the user selects a product and one where the user selects a test based on the product. I populate a ChartRangeSelector with the chosen options and dates. I also have a TimeSeriesChart that goes with the ChartRangeSelector. I want to have a multi-select dropdown instead for the test options to choose from. I am not sure how to go about populating the data for ChartRangeSelector or the data for the TimeSeriesChart data dynamically based on the chosen test options. I am currently using a named query to populate the data. I understand how the data needs to be organized via time first column and a new column after that for different test results for the chosen product and test(s), but how do I dynamically see how many tests were chosen from the multi-select dropdown, then populate a table.

---

<div class="post-metadata">

**Author:** ![HelloWorld](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@HelloWorld](https://forum.inductiveautomation.com/u/HelloWorld)\
**Post date:** [December 14, 2023, 3:53pm UTC](https://forum.inductiveautomation.com/t/populating-table-dynamically-based-on-multi-select-dropdown-s/83145/2 "2023-12-14T15:53:56Z")

</div>

This is what the View looks like: I want to change the test dropdown to multiselect and have the TimeSeriesChart populate a new line based on how many tests haven been chosen for a given product. Is this possible?

 ![Screenshot (39)](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/2/e25a521ddd97a0e04f5762fd174a170c65444894.png)
