Skip to main content

Overview

When embedding dashboards in iframes or sharing application links, you can pre-set filter values directly in the URL. This lets you:
  • Show different data views to different users without building separate dashboards
  • Deep-link to a specific filtered state
  • Control filters programmatically from your host application

Omnibar Filters (f_ prefix)

The primary way to pass filter values via URL. These filters show as interactive pills in the filter bar — users can see what’s filtered and modify or remove them.

URL Format

Source types:
  • Raw — a column from a raw database table
  • Output — a computed/output column from chart SQL
  • Variable — an RLS variable filter

Value Types

Examples

Single filter:
Multiple filters (AND logic):
Date range filter:

Behavior

  • Filters appear as pills in the omnibar — users can see what’s active
  • Multiple filters combine with AND logic
  • Users can remove or modify filters using the pill controls
  • Non-existent columns are silently ignored (no error)
  • Works with both JWT-authenticated and public (anonymous) access

Dynamic Filters from JavaScript


Controlled Filters (filter_ prefix)

Controlled filters are configured in the Upsolve Hub with a control key. They’re designed for server-side or host-app control — typically hidden from end users.
For setup instructions on configuring controlled filters in the Hub, see Controlled Filters.

URL Format

For Select Multi filter types, the value must be a JSON array, not a plain string. Plain strings cause chart load errors.

Examples

Combining Both Filter Types

You can use omnibar (f_) and controlled (filter_) filters together in the same URL:
The omnibar filter shows as an interactive pill; the controlled filter is applied silently (unless configured as visible).

Troubleshooting

Filter Not Applying

  • Check the column name: The f_ prefix requires the exact table and column name from your database. Misspelled names are silently ignored.
  • Check the source type: Use Raw for database columns, Output for computed columns.
  • Check value encoding: For f_ filters, include the type prefix (sm:, s:, n:, etc.). For filter_ controlled filters, use URL-encoded JSON.

Controlled Filter Causes Chart Errors

  • Use JSON arrays for Select Multi: filter_key=%5B%22value%22%5D (which is ["value"] URL-encoded), not filter_key=value.
  • Verify the control key matches: The filter_ suffix must match the exact controlKey configured in the Hub filter settings.

Filters Visible When They Should Be Hidden (or Vice Versa)

  • Omnibar (f_) filters are always visible as pills
  • Controlled (filter_) filters are hidden by default. Set isVisible: true in the Hub filter configuration to make them visible.