> For the complete documentation index, see [llms.txt](https://docs.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pentaho.com/pba/pentaho-analyzer-cp/adding-filters-to-an-analyzer-report/create-a-string-filter-on-a-level.md).

# 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/QbwzDSbgS8CCu40D7REt)
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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
