Exclude Blank Queries From Reports

In this article

n/a keyword is typically displayed as a Keyword dimension value in reports (dashboards and explorers) when a user accesses a Coveo-powered search interface. n/a keyword is also displayed when an end user submits a blank query to your search interface.

n-a-keywordsExample

Depending on your context, you may want to avoid users obtaining result items when they first access your search interface (interfaceLoad events) (see Prevent Queries Without Keywords).

Important

If you already disabled empty queries in your search interface after it loads the first time and still have several n/a keyword occurrences in your reports, you may need to further investigate the situation as it might be the result of an implementation issue.

If you want to keep these result items being displayed to your users, you can also exclude these empty queries from your reports.

To exclude n/a keyword from a report

  1. On the Reports (platform-eu | platform-au) page of the Coveo Administration Console, click the report in which you want to exclude n/a keyword values from the Keyword dimension, and then click Open in the Action bar.

  2. Click Edit in the upper-right corner.

    Important

    If you’re not in Edit mode, your changes will be lost when you leave the report.

    1. Click Add-Filter.

    2. ExcludeNAExample

      In the list of available Dimensions, do one of the following to select User Query.

      • Click the Search link to quickly browse dimensions by search event type, and select the User Query dimension.

      • Click All, and then use the Search box to find and select the User Query dimension.

    3. Below the User Query dimension you just selected, in the drop-down menu, select the Is not operator.

    4. Select the Include blank values in filter and Include n/a values in filter check boxes.

    5. Click Add Filter

The filter now appears in the top bar and you should no longer see n/a keyword in the report cards.

BlankFilter

What’s Next?

If you want to reuse that filter in other reports, you should add it as a named filter.