Enter variable value groups/tags (experimental feature)
Value groups/tags are a feature you can use to organize variable options. If you have many options in the dropdown for a multi-value variable, then you can use this feature to group the values into selectable tags.
This feature is off by default. Click Enabled to turn the feature on.
Enter a data source query that should return a list of tags. The tags query returns a list of tags that each represents a group, and the tag values query returns a list of group members.
For example, the tags query could be a list of regions (Europe, Asia, Americas), and then if the user selects the Europe tag, then the tag values query would return a list of countries – Sweden, Germany, France, and so on.
If you have a variable with a lot of values (say all the countries in the world), then this allows you to easily select a group of them. If the user selects the tag Europe, all the countries in Europe would be selected.
Enter a data source query that should return a list of values for a specified tag key. Use $tag
in the query to refer to the currently selected tag.
The $tag
variable will have the value of the tag that the user chooses.