# Adding filters to an Analyzer report

In Pentaho Analyzer, filters are used to restrict or limit data in a report, so you can build the report to show only the information that you want to view. For example, a typical report shows sales by product line. By applying a date filter on Quarter, you can restrict the data so that only sales for the one quarter are shown. If you add a string filter for Europe, the report would display data for the European sales that quarter. If you add a string filter on another field to exclude a product line, the report would display European sales data in that quarter minus the excluded product.

You can apply a filter by selecting it from a list, or you can choose a specific type of filter to refine the data the way you want:

* [Date range](/pba/pentaho-analyzer-cp/adding-filters-to-an-analyzer-report/create-date-range-filters.md)
* [Comparison on numeric levels](/pba/pentaho-analyzer-cp/adding-filters-to-an-analyzer-report/create-a-comparison-filter-on-a-numeric-level.md)
* [String on a level](/pba/pentaho-analyzer-cp/adding-filters-to-an-analyzer-report/create-a-string-filter-on-a-level.md)
* [Measure values](/pba/pentaho-analyzer-cp/adding-filters-to-an-analyzer-report/create-a-filter-on-measure-values.md)


---

# 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/pentaho-analyzer-cp/adding-filters-to-an-analyzer-report.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.
