# Filters

Filters can be configured at the Page and/or Card level, so they can be applied in chain with each other.

### URL parameter

In addition to the usual options for specifying a value for filters, you can use parameters specified in the Pages, Cards, and Collections URL.

<figure><img src="https://1704772157-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M3wQp48Ng4g1XyuoV8l-1972196547%2Fuploads%2FK1hmFs06RIGvK5PQS5Ha%2Fbiuwer-filters-url-parameter.png?alt=media&#x26;token=c254cccc-7e21-45e2-baca-3f5687f5ad8f" alt=""><figcaption><p>Specify the name of the URL parameter that will define the filter value</p></figcaption></figure>

The parameters are specified according to the [**Query String**](https://en.wikipedia.org/wiki/Query_string).

Following this example, as added to the URL provided by Biuwer

-> <mark style="background-color:blue;">**?**</mark>date\_from=2021-01-01<mark style="background-color:blue;">**&**</mark>date\_to=2021-12-31

The values that can be specified for a filter in the URL depend on the data type configured in the filter and the following.

It is possible to specify a list of values, for which the separator character "|" must be used between each pair of values. For example: product\_id=123|456|789|1092\&months=2021-01|2021-02

For **date type filters** it is necessary to specify the values using the internal format used in Biuwer, which depending on the date level used is one of the following:

* **Year** (YYYY -> 2020)
* **Year and quarter** (YYYY-T -> 2020-4)
* **Year and month** (YYYY-MM -> 2020-12)
* **Year, month and day** (YYYY-MM-DD -> 2020-12-22)

Also in date filters, it is possible to specify **predefined formats** using a set of values, depending on the date level:

* **Year**: thisYear, previousYear, previousTwoYears, twoYearsAgo, lastTwoYears, lastThreeYears
* **Quarter**: thisQuarter, previousQuarter, previousTwoQuarters, twoQuartersAgo, threeQuartersAgo, lastTwoQuarters, lastThreeQuarters, lastFourQuarters
* **Month**: thisMonth, previousMonth, previousTwoMonths, twoMonthsAgo, threeMonthsAgo, lastTwoMonths, lastThreeMonths, lastSixMonths, lastTwelveMonths
* **Day**: today, yesterday, previousTwoDays, twoDaysAgo, threeDaysAgo, currentWeek, lastSevenDays, lastThirtyDays
