# Is there a way to stack filters for multiple properties?

**URL:** https://forum.weaviate.io/t/is-there-a-way-to-stack-filters-for-multiple-properties/2607
**Category:** General
**Created:** [June 3, 2024, 3:24pm UTC](https://forum.weaviate.io/t/is-there-a-way-to-stack-filters-for-multiple-properties/2607 "2024-06-03T15:24:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![suprateembanerjee](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/suprateembanerjee/32/1617_2.png) [@suprateembanerjee](https://forum.weaviate.io/u/suprateembanerjee)
#### Post date: [June 3, 2024, 3:24pm UTC](https://forum.weaviate.io/t/is-there-a-way-to-stack-filters-for-multiple-properties/2607/1 "2024-06-03T15:24:42Z")

</div>

I am trying to filter results by multiple properties. For instance, I want property A to contain any of List 1, property B to contain any of List 2, and property C to equal “Dummy Value”.

The way to do this is to use the `&` operation. But this makes the filter static (I can’t dynamically add or remove filter elements). For instance, I want to check from the front end if the user has specified any of the 5 filters which is provided on the UI, and then apply the filters to the associated properties. The & operation does not let me stack filters.

What I would have is a list of filters, and I want to join them with `&`. I could do this with a string join, but that would not suffice for the task.

Is there a way to stack multiple filters and enforce them in the search dynamically?

---

<div class="post-metadata">

### Author: ![Dirk](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dirk/32/46_2.png) [@Dirk](https://forum.weaviate.io/u/Dirk)
#### Post date: [June 3, 2024, 5:34pm UTC](https://forum.weaviate.io/t/is-there-a-way-to-stack-filters-for-multiple-properties/2607/2 "2024-06-03T17:34:00Z")

</div>

you can use `Filters.all_of([filter1, filter2, .....])`, same with any\_of for |
