In this article
Selectors are used to make widgets dynamic in a data grid or chart. They allow users to extract variables and add them to the widget.
Overview
A Selector is a group of variables that you can apply to widgets to make them dynamic.
You can create Selectors from within the Data Grid and Chart widgets, and apply them to rows and columns.
Getting Started
Go to your chart or data grid widget.
Click the edit widget icon.
Locate the Break By field beneath the Rows or Columns sections (Data Grid) or the Category section (Chart).
Click the Expression Builder icon .
Click the Switch to Selector button.
Creating a New Selector
Tip: You can easily return to the previous menu where you started by clicking the Switch to Variable button.
Click "Create new" then the + Create Selector button.
Click the pencil icon to edit the name of the selector.
Select the Source you wish to extract variables from.
Select the Table you wish to extract variables from
Tick the boxes next to the variables you wish to add to the selector.
Click the + Add button.
Click the Create and Apply button when finished adding variables to your selector.
Enter a label by entering a name in the Label on widget field.
Selecting an Existing Selector
Click the Select existing button.
Pick a Selector from the drop-down
Editing an Existing Selector
Click the pencil icon next to the name of your selector.
Click the Edit button to edit your selector.
Click the pencil icon to edit the name of the selector.
Select the Source you wish to extract variables from.
Select the Table you wish to extract variables from
Tick the boxes next to the variables you wish to add to the selector.
Click the + Add button.
Click the Save and Apply button when finished adding variables to your selector.
Optional: Create a Copy of your existing selector to freely make changes without affecting other widgets.
Optional: Enter a label for how your selector looks in your widget by entering a name in the Label on widget field.
Note
Editing an existing selector will affect all widgets where the selector is being used.
Deleting an Existing Selector
Click the trash can icon next to the name of your selector.
Confirm you want to delete the selector by clicking the Delete button.
Note
Deleting an existing selector will permanently remove it from all widgets where it’s being used.