Windsor.ai lets you filter data before it reaches your destination. Filtering reduces the volume of data transferred, speeds up queries, and makes your destination tables or reports easier to work with.

Date range

Every Windsor query requires a date range. You can choose:

  • Date presets: last 7 days, last 30 days, last month, this month, last year, etc.
  • Custom range: a fixed start and end date (for example, 2024-01-01 to 2024-12-31).
  • Rolling window: a window relative to today, such as "last 90 days", which shifts forward each day.

For date presets, Windsor translates the preset to a date range at query time. If a source has restrictions on date ranges (for example, Google Search Console limits history to 16 months), Windsor returns an error for ranges that exceed the limit.

Dimension filters

Dimension filters narrow rows returned by the query. For example:

  • Return only campaigns matching a specific name or pattern.
  • Return only data for a specific country or region.
  • Exclude a specific campaign ID.

To add a dimension filter in the Windsor query builder:

  1. Click Add filter.
  2. Select the dimension field to filter on.
  3. Choose the operator: equals, not equals, contains, starts with, etc.
  4. Enter the filter value.

Multiple filters are combined with AND by default.

Metric filters

Some sources support metric-level filters (for example, return only campaigns with more than 100 clicks). Metric filters are applied after aggregation, so they affect which rows are returned, not which raw events are counted.

Custom queries

For advanced use cases — selecting specific fields, applying complex filters, or blending sources — you can build a custom query directly in the Windsor query builder or by editing the Connector URL.

The Connector URL encodes your query parameters:

https://connectors.windsor.ai/facebook?api_key=YOUR_KEY
  &date_preset=last_30d
  &fields=date,campaign,clicks,spend,purchases
  &filters=campaign_status=ACTIVE

You can edit the URL parameters directly to adjust fields, date range, or filters. See Creating custom queries in Windsor.ai for Looker Studio for a detailed walkthrough.

Filters per chart in Looker Studio

When using Looker Studio, filter controls on a report page apply to all charts by default. To apply a filter only to specific charts, see How to apply filters only to specific charts in Looker Studio.

Troubleshooting