Mode Analytics filters vs. parameters: rerun SQL or filter visualizations
In Mode, a Report Filter acts on data already returned to built-in charts in the browser after queries finish. A Parameter substitutes a value into SQL before it runs, so viewers must rerun the report after changing it. Use a filter to explore returned results; use a parameter when the query itself should return different rows. Official Mode Help checked 2026-11-18.
Mode Analytics filters vs. parameters: rerun SQL or filter visualizations
In Mode, a Report Filter acts on data already returned to built-in charts in the browser after queries finish. A Parameter substitutes a value into SQL before it runs, so viewers must rerun the report after changing it. Use a filter to explore returned results; use a parameter when the query itself should return different rows. Official Mode Help checked 2026-11-18.
Choose the execution point
| Decision | Report Filter | Parameter |
|---|---|---|
| When it acts | After queries; browser visualization | Before SQL execution |
| After changing value | Filters returned chart data | Rerun report and query |
| Notebook visuals | Not affected | Can use changed query results |
In Report Builder choose Add Filter, select a column, and click Add. Configure single/multi-select and list/dropdown controls. Choose Set as Default to save the starting state. In Report View change the filter and confirm charts update; reset it to check the default.
Filter returned visualizations
Define a parameter between {% form %} and {% endform %} and reference it as {{ order_year }}. Select a value and Run the report again; verify rows and charts change. View History can show the rendered SQL sent to the database.
Change the SQL input
SELECT region, order_year, revenue
FROM analytics.sales
WHERE order_year = {{ order_year }}
{% form %}
order_year:
type: select
default: 2025
options: [2024, 2025, 2026]
{% endform %}Report Filters do not change SQL and apply after queries complete, so they do not reduce database work (inference from documented order). They affect built-in charts, not Notebook visuals. Same-named columns across queries may all be filtered. Parameters can run arbitrary SQL; they are not an authorization mechanism. Restrict them to users authorized to query the database. Text/date values need correct SQL quoting; multiselect can yield zero/one/many values and often needs IN (...). Example schema is illustrative and not run.
Verify and troubleshoot
If a Notebook visualization does not change with a Report Filter, check whether it is driven by the query result: Report Filters do not apply to Notebook visuals. If several unexpected charts change, check whether their queries expose columns with the same name. For a Parameter, confirm the selected value, its SQL reference, and that the report was rerun; for text or dates, check the quoting. Use View History to inspect the rendered SQL.
New Report Filters default to multi-select and a dropdown, and the “All” option is on by default. The settings also let you show only relevant values based on earlier filters. In a parameter form, write the parameter name without leading spaces and indent its properties by two spaces. A predefined Select list is safer and more reproducible than unrestricted text input. A Date parameter is substituted in YYYY-MM-DD form, so quote it as a SQL string when needed.
Sources
[Mode Support: Interactivity](https://mode.com/help/articles/interactivity/)
[Mode Support: Parameters](https://mode.com/help/articles/parameters/)
[Mode Support: Visualization filters](https://mode.com/help/articles/viz-filters/)
[Mode Support: Querying data](https://mode.com/help/articles/querying-data/)