Filters in Insights

A filter keeps only the events or users you need in the report: for example, only iOS, only Chrome or only users of the "Visited the site more than 5 times" cohort. Everything that does not pass the filter is left out of the calculation.

You can add a filter to the whole report or to a single metric.

Filter, breakdown or Cohort metric: what to choose

Your taskWhat to useResult
Calculate metrics only for part of the audience (iOS, one region, one cohort)A filter on the whole reportOne line, but only for the filtered data
Restrict one metric without affecting the others (for example, iOS purchases next to all visits)A filter on the metricThe other metrics are calculated on all data
Compare groups with each other (iOS vs Android, Moscow vs everyone else)BreakdownA separate line or row for each group
Compare a segment with the rest of the audienceBreakdown by cohort with the "Not in cohort" checkboxTwo groups: in the cohort and not in the cohort
Find out the size of a segment over timeCohort metricNumber of cohort users by date
Tip
A filter cuts off data, a breakdown splits it into groups. If after filtering you want to see "what about everyone else", use a breakdown.

How to add a filter

A filter on the whole report applies to all metrics. For example, a filter by cohort or attribute lets you analyze only users who signed up in a certain period or use a certain device.

A filter on a single metric affects only that metric and does not change the rest of the report. For example, if you only need events on the iOS platform, add the "OS name = iOS" filter to the metric.

Step 1. To add a filter to the whole report, click + Add in the Filters block of the side panel. To add a filter to a metric, click ⋯ on the metric card and select Add filter.

Step 2. When adding a filter to the whole report, choose its type: Attribute or Cohort.

Step 3. For the Attribute type, choose an attribute (for example, Browser, OS name) and set a condition. For the Cohort type, choose a cohort and the Contains or Does not contain condition.

If the cohort you need is not in the list, first create it in Profiles → Cohorts (see Cohorts (RU)).

Deleting a filter. Click ⋯ on the filter card → Delete.

Filter conditions

Conditions for attributes
ConditionWhat it doesExample
Equals (=)Keeps only data that exactly matches the selected valueOnly events of users with the Chrome browser
Not equal (!=)Excludes data with the specified valueAll events except those on iOS
ContainsKeeps data if the attribute includes the specified valueAll events where the device name contains "Samsung"
Does not contain (!~)Excludes data if the attribute contains the specified valueHide events related to a specific ad campaign
EmptySelects events where the attribute is missingUsers with no country specified
Not emptySelects events where the attribute has a valueOnly sessions where a phone number was left
Conditions for cohorts
ConditionWhat it doesExample
ContainsIncludes only users of the selected cohortOnly users who made at least one purchase in the last 7 days
Does not contain (!~)Excludes users of the cohortHide users who made no purchases in the last month
Example: a purchase funnel for iOS only

Add a filter to the whole report: Attribute → OS name → Equals → iOS. All report metrics — visits, carts, purchases — will be calculated only for iOS users. To compare iOS with other platforms, remove the filter and add a breakdown by OS name.

Filters and metric order

Filters by cohort or event attributes can be applied to any metric in the report.

Change the order of metrics by drag-and-drop: hold a metric card with the left mouse button and move it. In the Table view, the metric order sets the column order.

FAQ

How is a report filter different from a metric filter? A report filter applies to all metrics at once, a metric filter only to that metric; the other metrics are calculated on all data.

Why did the values drop after adding a filter? A filter cuts off events and users that do not match the condition — only the remaining data is calculated.

The cohort I need is not in the filter list — what should I do? Create it in Profiles → Cohorts, and it will appear in the filter.

How do I see the filtered group next to everyone else? Use a breakdown instead of a filter: it shows each group separately.