Dashboard filters allow people to change what data is displayed or how it’s displayed across multiple questions at once. Instead of creating separate dashboards for different time periods or categories, you can create one flexible dashboard with filters.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/metabase/metabase/llms.txt
Use this file to discover all available pages before exploring further.
Filters vs parameters
There are two types of widgets you can add to dashboards:- Filters
- Parameters
Filters determine WHAT data to showExamples:
- Show only orders from the last 30 days
- Display data for a specific region or category
- Filter to customers with high lifetime value
- Date picker
- Location
- Text or category
- Number
- ID
- Boolean
Adding a filter to your dashboard
Choose filter location
You can add filters to:
- The dashboard itself (top bar): Visible across all tabs
- Heading cards: Scoped to cards below the heading on current tab
- Question cards: Only affects that specific card
Select filter type
Choose the type that matches your data:
- Date picker (for dates)
- Text or category (for labels and categories)
- Number (for numeric values)
- Location (for geographic data)
- ID (for IDs and codes)
- Boolean (for true/false values)
Filters only appear on tabs where they’re connected to at least one card. If a filter isn’t connected to any cards on the current tab, it won’t be visible.
Date picker filters
Date filters let users filter time-based data:- Single date
- Date range
- Relative date
- Month and year
- Quarter and year
- All options
Pick one specific date using a calendar widget.Best for:
- Viewing data for a specific day
- Selecting an exact date point
Text or category filters
Filter based on text values, labels, or categories:Filter operators
- Is: Matches specific values (dropdown or search)
- Is not: Excludes specific values
- Contains: Matches values containing the text
- Does not contain: Excludes values with the text
- Starts with: Matches values beginning with the text
- Ends with: Matches values ending with the text
Widget types
- Dropdown list
- Search box
- Input box
Shows all possible values in a selectable list with checkboxes.Pros:
- Loads instantly from cache
- See all options at once
- Easy to select multiple values
- Columns with fewer than 100 unique values
- When users need to see all options
- Frequently filtered fields
If you don’t see the dropdown list option, an admin needs to enable it in the metadata settings for that column, or you need to map the model column to a database field.
Number filters
Filter based on numeric values:- Equal to: Exact match
- Not equal to: Exclude specific value
- Between: Range of values
- Greater than or equal to: Minimum threshold
- Less than or equal to: Maximum threshold
- Orders over $1,000
- Products with inventory between 10 and 50
- Accounts with exactly 5 users
Location filters
Filter geographic data:- Country
- State
- City
- ZIP / postal code
Select one or more countries from a searchable list.
ID filters
Simple input for IDs, order numbers, or unique identifiers:- Can accept single or multiple values
- Plain text input box
- Useful for looking up specific records
Boolean filters
Filter true/false or yes/no values:- Simple toggle or dropdown
- Good for status flags (active/inactive, paid/unpaid, etc.)
- Can also handle null values (empty/not empty)
Time grouping parameters
Change how time-based data is grouped across the dashboard:Time grouping parameters don’t filter data - they change the aggregation level. All data points remain; they’re just grouped differently.
Connecting filters to cards
After adding a filter, connect it to the questions you want it to affect:Click on a card's dropdown
While editing the filter, each card shows a dropdown to connect it to the filter.
Auto-connecting
When you connect a filter to a card by selecting a field, Metabase offers to automatically connect the filter to other cards that have the same field. This saves time when you have many cards with the same column. Metabase will also try to auto-connect new cards you add later if they contain the field.Connecting filters to SQL questions
For SQL questions to work with dashboard filters, the question must include variables:- Add the SQL question to your dashboard
- Create a dashboard filter matching the variable type
- Connect the dashboard filter to the SQL variable
Use field filters in SQL questions (not basic variables) for better compatibility with dashboard filters and more flexible filter options.
Connecting filters to text cards
Text cards can use filter values to create dynamic content:- Use
{{variable}}to insert the filter value - Wrap text in
[[ ]]to show it only when the filter has a value
Filter configuration options
Setting a default value
Provide a starting value when the dashboard loads:- Click the filter while editing
- Set the Default value in the sidebar
- Users can change it, but it starts with your default
Requiring a filter
Force users to select a filter value:- Click the filter while editing
- Toggle Required in the sidebar
- Set a default value (required when filter is required)
- Unfiltered queries would return too much data
- The dashboard only makes sense with a filter applied
- You want to reduce database load by preventing broad queries
Multi-select filters
Allow selecting multiple values:- Click the filter while editing
- Under People can pick, select “Multiple values”
- Save the dashboard
Custom selectable values
Control what values appear in dropdowns:- From connected fields
- From another model or question
- Custom list
Default behavior - shows all values from the connected columns.
Filter organization
Reordering filters
- Enter dashboard edit mode
- Click the grabber handle (six dots) on the left of a filter
- Drag to reposition
Renaming filters
- Enter dashboard edit mode
- Click the filter
- Change the label text in the sidebar
Renaming a filter only changes the display label. It doesn’t affect which fields the filter is connected to.
Removing filters
- Enter dashboard edit mode
- Click the filter
- Click Remove in the sidebar
- Save the dashboard (or click Cancel to undo)
Linked filters
Create filter dependencies where one filter’s options depend on another filter’s value. For example:- Select a country first, then state filter only shows states in that country
- Choose a category, then product filter shows only products in that category
See the Linked filters documentation for detailed setup instructions.
Auto-apply filters
Control when filters refresh the dashboard:- Auto-apply ON (default)
- Auto-apply OFF
Dashboard refreshes immediately when you change any filter value.Best for:
- Fast-loading dashboards
- Single-filter interactions
- Immediate feedback preference
- View the dashboard (not in edit mode)
- Click the three-dot menu (…)
- Select Edit settings
- Toggle Auto-apply filters
Using dashboard filters
Once filters are set up, users can:- Click the filter widget to open the selection interface
- Choose value(s) from dropdown, search box, or calendar
- View updated results (or click Apply if auto-apply is off)
- Clear the filter by clicking the blue X
Filter selections are personal to each user’s view. If someone else views the same dashboard at the same time, they won’t see your filter selections.
Best practices
Start with key filters
Place the most commonly used filters first. Users scan left-to-right.
Use clear labels
Name filters descriptively: “Order Status” not just “Status”, “Customer Region” not “Region”.
Set helpful defaults
Provide default values that show meaningful data immediately.
Choose the right widget
Use dropdowns for short lists, search boxes for longer lists, input boxes for free text.
Group related filters
Keep filters for similar concepts together (all location filters, all time filters).
Don't over-filter
Too many filters overwhelm users. Aim for 3-5 filters; use tabs for different views instead.
Dashboard filter permissions
Users can interact with dashboard filters based on their permissions:
- View access: Can use filters and see filtered results
- Curate access: Can add, edit, and remove filters
Next steps
Creating dashboards
Learn more about building effective dashboards
Subscriptions
Send filtered dashboard results via email or Slack
SQL editor
Add variables to SQL questions for dashboard compatibility