# Range Filter Interactions

Use the `asRange()` serialization function to bind filters based on numeric ranges.

Let’s look at some examples with inclusive ranges.

The source query for an interaction produces these results.

```json
[ {grouping: "first", measure: 19} {grouping: "second", measure: 32} ]
```

You can bind the filter using this syntax.

```javascript
q = filter q by {{row(stepFoo.selection, [0], ["min", "max"]).asRange("bar")}};
```

After evaluating the interaction, CRM Analytics produces this range filter.

```javascript
q = filter q by bar >= 19 && bar <= 32;
```
