I have set of filters on the canvas and values of these will be used in an essql query to pick data to a line chart.
filters
| essql query="SELECT .."
..
..
| render
But based on some of the selected values in filters, I want to change the essql query to be used to pick the data for chart. So that how can I read the values selected in filters and save them in a variable.