...
After you’re created your “Range input” control, you’ll need to connect it to a chart in order to start using it to filter. You can do this by using its corresponding dashboard variable in a Visual SQL query.
Tip |
---|
You can also connect controls in other Visual SQL steps. Learn more about connecting controls outside of a Visual SQL query. |
...
Open the chart builder by creating a new chart or editing an existing chart on the dashboard.
In the “Filters” section of your visual mode query:
Add the numeric column you want the control to filter.
Select between and including as the filter operator.
Reference your control using its variable:
Use
{RANGE_INPUT_NAME.START}
for the beginning of the range.Use
{RANGE_INPUT_NAME.END}
for the end of the range.Replace
RANGE_INPUT_NAME
with your control's name.
Select Run query. The result table will update with the new filter applied to the data.
Select Save to dashboard to save the chart.
...