Filtering Dashboards Using Drop-down
When creating dashboard widgets, you may want to let end users filter the widget’s output based on a selected value. This can be achieved using a dynamic dropdown variable from Global Settings.
For example, you may want to list customer names stored in a data table and allow users to select a specific customer from a dropdown, so the widget only displays data related to that customer.
Step 1: Create a View in the Datastore
Section titled “Step 1: Create a View in the Datastore”- Go to Data-store → Views → click Create New.
- Configure the new view as follows:
-
Choose the column containing the values you want to display in the dynamic drop-down.
-
Add a filter:
-
Condition:
Text Contains -
Value type:
Placeholder -
Value: type
filterand press Enter.
-
-
Add a DISTINCT clause to ensure only unique options appear in the drop-down.

-
Set the output column to the one containing the drop-down values.

-
- Publish the view.
Step 2: Create a Dynamic Drop-down Variable in Global Settings
Section titled “Step 2: Create a Dynamic Drop-down Variable in Global Settings”- Navigate to Dashboard V2 → Global Settings → Add New Variable.
- Configure the variable:
-
Name: Enter a descriptive name.
-
Type: Select Dynamic Drop-down.
-
View: Select the view you created in Step 1.
-
Column: Select the column to display options from.
-
(Optional) Default Value: Set if needed.

-
- Click Add to save the variable.
Step 3: Apply the Dynamic Dropdown Variable as a Widget Filter
Section titled “Step 3: Apply the Dynamic Dropdown Variable as a Widget Filter”- Edit the widget where you want the filter applied.
- In the filter settings, select the Global Settings variable you created.
- Save and Publish the widget.
Once published, the filter will be available in the dashboard view for end users to interact with.
