Add dimension and metric filters in cards
Add dimension and metric filters in cards
You can refine search usage analytics data shown in each usage analytics cards (table, time series, etc.) by creating dimension and metric filters (see Review and manage dashboards and Review and manage explorers).
Add dimension and metric filters in usage analytics cards
You can add one or more dimension and metric filters to cards in dashboards or explorers.
-
On the Reports (platform-ca | platform-eu | platform-au) page, open a dashboard or explorer, then do one of the following:
-
Access Edit mode by clicking Edit on the upper-right corner, then select the card to which you want to add filters.
-
(For explorers only) When you want the filter(s) to be the default one(s) applied in your usage analytics cards, access Edit mode by clicking Edit in the upper-right corner.
If you’re not in Edit mode, your changes will be lost when you leave the explorer.
-
-
Depending on your context, click (see Review and manage explorers and Review and manage dashboards).
-
In the dialog that appears:
-
In the list of Named Filters (if any), optionally search and select one or more set of filters (see Manage named filters).
-
In the Dimensions and Metrics lists, select at least one xref:dimension-and-metric-filters-table,dimension or one metric on which you want to set the filter (for example, the User Query dimension and the Search Event Count metrics). Do one of the following:
-
Click the links (Search, Click, and Custom) to quickly browse dimensions and metrics by event category, and then select one or more (see Dimensions and Metrics).
NoteCustom data can only be leveraged when using the UA Protocol. If your Coveo implementation uses the Event Protocol, custom dimensions and metrics shouldn’t be added to a report since they won’t function as expected.
-
Click All, and then use the Filter box to find and select one or more dimensions and metrics of your choice.
-
-
In the filter definition dialog box:
-
Select an operator (Is, Is not, Contains, Does not contain, Is equal to, Is not equal to, Is lower than, Is lower than or equal to, Is greater than, or Is greater than or equal to) to apply between the selected dimension or metric and the value.
NoteThe list of available operators depends on the selected dimension or metric.
-
-
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 , 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.
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.
NoteYou can remove unnecessary filters by clicking next to the ones you want to remove, and then selecting Remove.
-
(Optional - for dimension filters only) You can add a named filter with the current filter(s):
-
At the right-end of the bar, click , and then select Save filter as or Save filters 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 card.
-
-
-
Click Add Card or Save.
If the card doesn’t show expected values, ensure no global dimension filters are in conflict with the dimension filter(s) you just added (see Add global dimension filters).
ExampleOn a pie chart displaying search event count per city, you add the filter
Country is Canada
. However, when looking at your pie chart, you see cities from Canada and United States. This is because the global filterCountry is United States
is applied on the dashboard in which the pie chart is contained. Therefore, the resulting filter on your pie chart isCountry is Canada OR United States
.NoteYou can remove all the filters applied on the card, at the right-end of the filter bar, by clicking , and then selecting Remove filter or Remove all filters.
-
If you’re in Edit mode, don’t forget to save your changes by clicking Save in the upper-right corner.
Dimension and metric filters table
Depending on the usage analytics card type, you can create only dimension filters, metric filters, or both dimension and metric filters.
Usage analytics card type | Explorer | Dashboard | Metric filters | Dimension filters |
---|---|---|---|---|
[1] |
||||
Only on the metric used to establish the trend |
||||
Required privileges
The following table indicates the required privileges to view and edit dashboards from the Reports (platform-ca | platform-eu | platform-au) page and associated panels (see Manage privileges and Privilege reference).
Note
Access to dashboards or part of their content may be further restricted as a function of the member (see Manage access to reports and Manage permission filters). |
Action | Service - Domain | Required access level |
---|---|---|
View dashboards |
Analytics - Analytics data |
View |
Edit dashboards |
Analytics - Analytics data |
View |
Analytics - Reports |
Edit |
|
Analytics - Administrate |
Allowed |