--- title: Add global dimension filters slug: '1675' canonical_url: https://docs.coveo.com/en/1675/ collection: coveo-analytics source_format: adoc --- # Add global dimension filters When using the [Visit Browser](https://docs.coveo.com/en/274/), or editing Coveo Analytics [reports](https://docs.coveo.com/en/266/) or [data exports](https://docs.coveo.com/en/257/), members with the [required privileges](#required-privileges) can define and apply global dimension filters to select the [Coveo Analytics data](https://docs.coveo.com/en/259/) to consider. **Example** You want to report only on the [events](https://docs.coveo.com/en/260/) that occurred on your intranet, therefore you add the following global filter: ![Global filter where origin 1 is intranet | Coveo](https://docs.coveo.com/en/assets/images/coveo-analytics/global-filter-origin-1-is-intranet.png) ## Add global dimension filters . [Log in to Coveo](https://platform.cloud.coveo.com/login) ([platform-ca](https://platform-ca.cloud.coveo.com/login) | [platform-eu](https://platform-eu.cloud.coveo.com/login) | [platform-au](https://platform-au.cloud.coveo.com/login)) as a [member](https://docs.coveo.com/en/2869/) of a [group](https://docs.coveo.com/en/2867/) with the [required privileges](#required-privileges) to manage Coveo Analytics data in the target [Coveo organization](https://docs.coveo.com/en/185/), then do one of the following: * To apply the filter to a report by default, access the [dashboard](https://docs.coveo.com/en/1542#access-a-dashboard) or [explorer](https://docs.coveo.com/en/1899#view-or-edit-an-explorer) in Edit mode. * To apply the filter in the **Visit Browser**, open the [**Visit Browser**](https://platform.cloud.coveo.com/admin/#/orgid/usage/visit/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/usage/visit/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/usage/visit/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/usage/visit/)) page. . Click icon:filter-add-2[alt=filter-add-2,width=16] and the dialog to add global dimension filters opens. . In the list of **Named Filters** (if any), optionally search and select one or more [sets of filters](https://docs.coveo.com/en/1990/). ![Filter list showing filters and dimensions options | Coveo](https://docs.coveo.com/en/assets/images/coveo-analytics/admin-filter-example.png) . In the list of available **Dimensions**, do one of the following to select the [dimension](https://docs.coveo.com/en/1904/) on which you want to set the filter: * Click the links (**Search**, **Click**, and **Custom**) to quickly browse and select a dimension by event category. > **Note** > > Filters that rely on custom event types only work with the UA Protocol. > If your Coveo implementation uses the [Event Protocol](https://docs.coveo.com/en/o3r90189/), custom event types won't function as expected. * Click **All**, and then use the **Search** box to find and select the dimension of your choice. . In the filter definition dialog: ![Filter interface showing Country selection with Canada selected | Coveo](https://docs.coveo.com/en/assets/images/coveo-analytics/filter-example-where-country-is-canada.png) .. Click the dropdown menu and select an operator (for example, **Is**, **Is not**, **Contains**, etc.) to apply between the selected dimension and the value. > **Note** > > The list of available operators depends on the selected dimension. .. After clicking in the third box, do one of the following: *** Select between the most frequent dimension values suggested (if any). *** Type and select values. *** Click [add], or select Enter to add one or more values to filter on. .. When you want to filter blank and n/a values, select the **Include blank values in filter** and **Include n/a values in filter** checkboxes. > **Important** > > Maximum number of values per filter, depending on the dimension: > > * **Advanced Query Expression**: 5 > > * **Keyword**: 250 > > * All other dimensions: 75 > **Notes** > > * When you select a suggested value, the value is case sensitive, except for **User Query** and **Keyword** dimensions values, which are always case insensitive. > > * When you enter a value, the value is case insensitive. > > * To quickly edit values, click the value, make your changes, and then select Enter. > > * As designed, values aren't suggested for numerical dimensions (for example, **Number of Results**, **Click Rank**, etc.). .. Click **Add Filter**. The filter appears in the top bar. ![Filter condition Country is United States | Coveo](https://docs.coveo.com/en/assets/images/coveo-analytics/filter-example-where-country-is-us.png) .. (Optional) When you plan to use the filter on many reports or often in the [**Visit Browser**](https://platform.cloud.coveo.com/admin/#/orgid/usage/visit/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/usage/visit/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/usage/visit/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/usage/visit/)) page, consider saving the filter as a named filter: ... Next to the filter label, click [dots], and then click **Save filter as**. ... In the **Save as a Named Filter** dialog, in the first input, enter a meaningful **Filter name**, and then click **Save**. The named filter is now applied to the report or the user visits. .. (For reports only) If you're in Edit mode, don't forget to save your changes by clicking **Save** in the upper-right corner. ## Filter settings and limitations * Global filters apply to all [cards](https://docs.coveo.com/en/267/) in a report (see [Exception](#Exception)). * Global filters are combined together using the `AND` operator. * Any combination of filters on the same dimension, including [named filters](https://docs.coveo.com/en/264/) and [permission filters](https://docs.coveo.com/en/265/), can't exceed 75 values (see [Limits](https://docs.coveo.com/en/1937/)). * In a card, when a filter on the same dimension doesn't contain the global filter dimension value, depending on the dimension type: ** For textual dimensions (**Document Title**, **User Name**, **City**, etc.), the filter value on the card is added to the global filter value using the OR operator. **Example** On your table card, you have a filter limiting the content origin to only Seattle and Paris (`City is Seattle or Paris`). On your dashboard, you add the following global filter: `City is New-York`. Your table card now shows content that comes from New-York, Seattle, or Paris. The resulting filter is therefore: [`City is New-York` OR (`City is Seattle or Paris`)]. ** For numerical dimensions (**Number of Results**, **Click Rank**, etc.), depending on the filter values, the `No search statistics` error message may appear in the card. **Example** On your table card, you have a filter limiting the content to only queries that return less than 10 results (`Number of Results is less than 10`). On your dashboard, you add the following global filter: `Number of Results is greater than 10`. Your table card now shows the `No search statistics` error message since there are no queries that can return both less and more than 10 results at the same time. If you instead add the following global filter: `Number of Results is greater than 5`, your table card will consider queries that returned between 6 and 9 results. * [[Exception]]Global filters are only applied on visit metric cards if the dimensions used in the global filters are available for user visits (see [Add visit metric cards](https://docs.coveo.com/en/1563/)). **Example** When global filters filter on a **Group** or a **Keyword** dimension value, the global filters aren't applied on visit metric cards. * If a global filter and a filter in a card don't filter on the same dimension, but affect each other (for example, **Country** and **City**), the `No search statistics` error message can appear if no content matches the resulting filter. **Example** On your table card, you have a filter limiting the content origin to only Seattle (`City is Seattle`). On your dashboard, you add the following global filter: `Country is Canada`. Your table card now shows the `No search statistics` error message since there's no content that comes from both Canada and Seattle. ## Required privileges The following table indicates the privileges required to view or edit elements of the [**Reports**](https://platform.cloud.coveo.com/admin/#/orgid/usage/reports/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/usage/reports/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/usage/reports/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/usage/reports/)), [**Raw Data**](https://platform.cloud.coveo.com/admin/#/orgid/usage/raw-data/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/usage/raw-data/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/usage/raw-data/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/usage/raw-data/)), and [**Visit Browser**](https://platform.cloud.coveo.com/admin/#/orgid/usage/visit/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/usage/visit/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/usage/visit/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/usage/visit/)) pages and associated panels (see [Manage privileges](https://docs.coveo.com/en/3151/) and [Privilege reference](https://docs.coveo.com/en/1707/)). Access to reports or part of their content may be further restricted as a function of the member (see [Manage access to reports](https://docs.coveo.com/en/1888/) and [Manage permission filters](https://docs.coveo.com/en/1917/)). [cols="3",options="header"] |=== |Action |Service - Domain |Required access level |View global dimension filters |Analytics - Analytics data Analytics - Dimensions Analytics - Named filters Analytics - Permission filters Analytics - Reports Organization - Organization |View .2+|Edit global dimension filters |Analytics - Analytics data Analytics - Dimensions Analytics - Named filters Analytics - Permission filters Organization - Organization |View |Analytics - Data exports Analytics - Reports |Edit .3+|Edit and administrate global dimension filters |Analytics - Analytics data Analytics - Dimensions Analytics - Named filters Analytics - Permission filters Organization - Organization |View |Analytics - Data exports Analytics - Reports |Edit |Analytics - Administrate |Allowed |===