# Filter collection by field value in an object

**URL:** https://community.weweb.io/t/filter-collection-by-field-value-in-an-object/8383
**Category:** Ask us anything
**Created:** [May 1, 2024, 8:02am UTC](https://community.weweb.io/t/filter-collection-by-field-value-in-an-object/8383 "2024-05-01T08:02:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Kkluz](https://avatars.discourse-cdn.com/v4/letter/k/a9a28c/32.png) [@Kkluz](https://community.weweb.io/u/Kkluz)
#### Post date: [May 1, 2024, 8:02am UTC](https://community.weweb.io/t/filter-collection-by-field-value-in-an-object/8383/1 "2024-05-01T08:02:20Z")

</div>

Hi I am trying to filter my collection by using a field value within an object. How can I specify that certain field value to filter?

![scrnli_2024_5_1 14-55-17](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/3/315c0f10db87662c2a12b5f9cb91c55b02d6e07b.png)

I tried this

 ![scrnli_2024_5_1 14-53-08](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/b/ba06e953a879b8a46664fa1f28359b45dfbb4067.png)  
and bind it to this in the value it contains but it doesn’t seem to work: createObject(“bedrooms”,“1”)

Please let me know if there are any ways to do it. Thanks alot

---

<div class="post-metadata">

### Author: ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)
#### Post date: [May 2, 2024, 10:02pm UTC](https://community.weweb.io/t/filter-collection-by-field-value-in-an-object/8383/2 "2024-05-02T22:02:41Z")

</div>

Hello, this is a current limitation of WeWeb, you can use the Copilot to create a formula with parameters to filter and return the data, then you can wrap your data in it, by passing it as a parameter. This is especially helpful for filters where the requirements exceed WeWeb’s capabilities. Otherwise you could filter it on the backend.

---

<div class="post-metadata">

### Author: ![Matt](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/matt/32/13947_2.png) [@Matt](https://community.weweb.io/u/Matt)
#### Post date: [February 3, 2025, 10:15am UTC](https://community.weweb.io/t/filter-collection-by-field-value-in-an-object/8383/3 "2025-02-03T10:15:30Z")

</div>

Can you give more details to accomplish what you’re talking about ?  
I have the same question
