Create a Text Input
Click Add Control from the dashboard sidebar menu and select Text Input. A modal will pop up for you to customize your variable settings.
Check Multi-value if you’d like to filter your charts by multiple values. When selected, choose whether all results (Show all) or no results (Show none) are displayed when no filter value is selected.
The Default Value will be used to filter your charts when no value is typed into the input box. This field is optional - leave it blank for an empty result set by default.
Partial string matching
The input variable requires an exact string match. To search by partial strings, select filter type “LIKE” in the Data Explorer, and use percent signs around your search string as needed. For example, to filter by names that start with “A”, set your chart filter to filter by values ‘like’ your input variable, and enter A% into the input widget.
The input widget encloses the search value in single quotes, and therefore does not allow multiple input values at once.
For Default Start and Default End date, you can either set a specific date, or choose a relative date such as the last 30 days.
Connect a Text Input to your chart
Open the chart you’d like to connect to your Text Input in the Data Explorer. Drag the column you want to filter your dataset on into the Filters section, select the filter type, and select your variable name. You’ll need to ensure your Text Input has the same data type as the column you’re filtering on. If you selected Multi-value when creating your text input, be sure to use filter type “is one of”, not “equals”.