# Create a string filter on a level

You can filter on a field to match a specified string. In the Filter dialog box, enter the characters that are contained (or absent) in the field you want to use.

Perform the following steps to add a string filter to an Analyzer report:

1. Log in to the User Console, then click **Browse Files** to browse to the location of your Analyzer report and open the report.
2. Click the **Add a Filter** icon, then drag a field from the **Available Fields** panel (or click and drag a field or column from the report) that you want to use as a filter into the filters workspace.

   The Filter dialog box appears.
3. Select the **Match a specific string** option.

   ![Match a specific string](/files/QN8TcWRdpigPcbeLVMxQ)
4. Click in the field menu (such as **Product**), and select either the **Contains** option or **Doesn’t Contain** option from the drop-down menu.
5. Enter the character or characters to use as a filter.

   To add more filter values for further refinement, click **Add another value** as needed.
6. After you have entered all the values that you need, click **OK** to exit the dialog box.

   After generating, your report displays with the fields matching (or excluding) the specified values.
7. Save your report.

   You can click **Undo** or **Reset** to return to the previous version of the report.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pentaho.com/pba/9.3-analytics/pentaho-analyzer-cp/adding-filters-to-an-analyzer-report/create-a-string-filter-on-a-level.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
