# How to write an IN() statement with multiple variables

Sometimes you might want to filter with two variables using a single Filter tool. This is possible using the [IN](/cascade/functions-and-expressions/functions/logical/in.md) function in Cascade.

`IN({Product}, "iPhone", "Wired Headphones")`

In this example, the user is filtering for rows with the value “iPhone” or “Wired Headphones” in the Product field.

<figure><img src="/files/JkBssPFBH5dqvpLu0gA7" alt="Screenshot of Filter tool configuration using IN() statement"><figcaption><p>Screenshot of Filter tool configuration using <a href="/pages/-MknCkG5GzFWDJUF98P0">IN()</a> statement</p></figcaption></figure>

Check out more on the [IN](/cascade/functions-and-expressions/functions/logical/in.md) function in Cascade docs.


---

# 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.cascade.io/cascade/cascade-faqs/functions-and-expressions/how-to-write-an-in-statement-with-multiple-variables.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.
