update-dashboard-filters
Update dashboard-level filters to add global date ranges, category filters, or change filter options that apply to all charts on the dashboard.
Instructions
Update dashboard-level filters that apply to all tiles.
Dashboard filters allow users to:
Filter all charts on a dashboard at once
Create interactive dashboards where users can change filters
Implement global date ranges or category filters
Filter configuration structure: Filters use the same structure as chart filters with:
Field references (fieldId)
Operators (equals, notEquals, contains, greaterThan, etc.)
Values or value ranges
Time-based filters (inThePast, inTheNext, etc.)
When to use:
To add global date range selectors
To create region/category filters that apply to all charts
To update filter options or defaults
To remove filters that are no longer needed
Important: Changes apply immediately to all dashboard viewers.
Testing: Use run-dashboard-chart after updating to verify filters work as expected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dashboard_name | Yes | Name of the dashboard (supports partial matching) | |
| filters | Yes | JSON string of filter configuration. Use same structure as chart filters. Example: {"dimensions": {"id": "root", "and": [{"id": "filter1", "target": {"fieldId": "table_field"}, "operator": "equals", "values": ["value"]}]}} |