> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rwsintegration.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Filter Data

> Learn how to use business rules to filter data in RWS Integration

Filter rules determine which data should be excluded from the integration using conditional rules.

<Info>
  Filter rules only work when configured as a filter in the
  **Extract** section, and they occur after data **Enrichment**.
</Info>

## When to use

* Remove minors
* Remove products with zero price
* Remove specific date periods

## How it works

* If it returns `true` → Data is removed
* If it returns `false` → Data is kept

## Example

To remove products with zero price:

```javascript theme={null}
(context) => {
  const price = context.datapoint.price;

  return price <= 0;
};
```
