Reports

[GA4] Apply filters to detail reports

Report filters allow you to control what data is shown in your detail reports. They can help you understand your data, find trends, and drill into the details you care about. For example, you can use a report filter to look at specific regions, app versions, and ad units. You can add multiple filters to further refine your analysis.

What do report filters do?

Report filters help you see only needed data in your reports by hiding the rest. See Data filters to learn how to remove internal or developer traffic using data filters. For more information on filter types, see Compare filters, subproperties, and user roles.

Where are the filters in a report?

You can manage filters above the charts in your report. Adding a filter updates both the chart and table in that report. You can only apply filters to detail reports.

Add a filter

You can create filters to select dimension values using exact matches, partial match phrases, or regular expressions (regex).

You can only add filters to detail reports. If you don't see Add filter, it likely means it's an overview report, which you can't add temporary report filters to. However, if you are an Editor or Administrator, you can customize the report to include filters. Learn more about customizing overview reports.

Filtering with exact matches

Exact matching allows you to filter for data that precisely matches or does not match specific dimension values.

  1. While viewing a report, click + Add filter.
  2. Select a dimension. Only dimensions that have dimension values appear in the list. Google grays out a dimension if it's incompatible with other dimensions in a report.
  3. In the Match Type field, select Exactly matches or Does not exactly match.
  4. Select one or more dimension values.
  5. (Optional) Click Add new condition to create up to 4 more conditions.
  6. Click Apply.

Filtering with partial matches

Partial match phrases provide greater flexibility in filtering for dimension values. You can create filters using the following partial match types:

  • contains
  • begins with
  • ends with
  • does not contain
  • does not begin with
  • does not end with
Partial match phrases are case sensitive.
  1. While viewing a report, click + Add filter.
  2. Select a dimension. Only dimensions that have dimension values appear in the list. Google grays out a dimension if it's incompatible with other dimensions in a report.
  3. In the Match Type field, select the desired partial match type.
  4. In the text box enter the partial match value.
  5. (Optional) Click Add new condition to create up to 4 more conditions.
  6. Click Apply.

Filtering with regular expressions

Regular expressions (regex) provide advanced filtering capabilities. Using regex, you can create complex patterns to match dimension values based on specific criteria. You can create regex filters using the following match types:

  • matches regex
  • matches partial regex
  • does not match regex
  • does not match partial regex
Regular expressions are case sensitive and are limited to 250 characters.
  1. While viewing a report, click + Add filter.
  2. Select a dimension. Only dimensions that have dimension values appear in the list. Google grays out a dimension if it's incompatible with other dimensions in a report.
  3. In the Match Type field, select the desired regex match type.
  4. In the text box enter the regex.
  5. (Optional) Click Add new condition to create up to 4 more conditions.
  6. Click Apply.

Change a filter

  1. While viewing a report, click the filter you want to change.
  2. Select the items you want to add or remove from your filter.
  3. Click Apply.

Remove a filter

To remove a filter, click Remove next to the filter you want to remove.

How do you define filter conditions?

You create filters by building conditions using dimensions and dimension values.

For example, you can apply:

  • The Platform dimension and choose from the Android, iOS, and Web dimension values
  • The Country dimension and choose from Argentina, Germany, and other countries

Multiple values for the same condition are evaluated with OR logic, e.g., Platform = Android OR iOS; Country = Argentina OR Japan.

Multiple conditions within the same filter are evaluated with AND logic, e.g., (Platform = Android OR iOS) AND (Country = Argentina OR Japan).

Not all dimension values may be available. Some dimensions are not allowed to be excluded, while others are not available due to your configuration.

List of dimensions you can use to configure filter conditions

The following are some common dimensions you could use to configure filter conditions:

  • Age
  • Audience name
  • Browser
  • Day
  • Device
  • First session date
  • First user campaign
  • First user source / medium
  • First visit date
  • Gender
  • Hostname
  • Hour
  • Landing page + query string
  • Language
  • Language code
  • Operating system
  • OS with version
  • Page path and screen class
  • Screen resolution
  • Session campaign
  • Session default channel group
  • Session source platform
  • Signed in with user ID
  • Stream name
  • Test data filter name

Was this helpful?

How can we improve it?
true
Search
Clear search
Close search
Main menu
4065988049635019248
true
Search Help Center
true
true
true
true
true
69256
false
false