# Filter in Airtable Search Records not working

**URL:** <https://community.make.com/t/filter-in-airtable-search-records-not-working/23016>\
**Category:** Questions\
**Tags:** airtable\
**Created:** [December 30, 2023, 7:19pm UTC](https://community.make.com/t/filter-in-airtable-search-records-not-working/23016 "2023-12-30T19:19:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chakana](https://avatars.discourse-cdn.com/v4/letter/c/8baadc/32.png) [@Chakana](https://community.make.com/u/Chakana)\
**Post date:** [December 30, 2023, 7:19pm UTC](https://community.make.com/t/filter-in-airtable-search-records-not-working/23016/1 "2023-12-30T19:19:00Z")

</div>

I need an Airtable Search Records module to filter results based on an array containing a specific Record ID. So, if the array contains the record\_id, then the record

The array is a lookup called {la\_attribute\_category\_tags}

I have tried the two formulas that appears in the screenshot:

 ![Screenshot 2023-12-31 at 6.03.11 am](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/7/2728c441d1dc14465e1c5e54e2978659a0b06764.png)

 ![Screenshot 2023-12-31 at 6.14.55 am](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/4/5/45cfedb5b7e039f8e6b935e5d93078bbd570e390.png)

but they gives me the error:

**[422] The formula for filtering records is invalid: Unknown field names: false**

I was wondering if someone could help me with that.

Thanks.

---

<div class="post-metadata">

**Author:** ![Ishan](https://avatars.discourse-cdn.com/v4/letter/i/3da27b/32.png) [@Ishan](https://community.make.com/u/Ishan)\
**Post date:** [January 1, 2024, 6:37am UTC](https://community.make.com/t/filter-in-airtable-search-records-not-working/23016/4 "2024-01-01T06:37:38Z")

</div>

Hey There @Chakana ,  
Hope you are doing well,  
Try Using the get() function to get the first element of the “tag\_id” array ,  
Let me know if this helps.

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [January 1, 2024, 7:38am UTC](https://community.make.com/t/filter-in-airtable-search-records-not-working/23016/5 "2024-01-01T07:38:02Z")

</div>

> [@Ishan](#):
>
> Try Using the get() function to get the first element of the “tag\_id” array

Instead of using `get` which requires an index, if want the first element, you can use the built-in “`first`” function.

BUT, this field is supposed to be an Airtable formula. Using `contains` is a Make function, that only returns `true` or `false`, and when passed to Airtable, it is not a valid formula.

You’ll need to click on the purple “Airtable’s website” link below the field to find out how to create an Airtable formula.

---

<div class="post-metadata">

**Author:** ![Chakana](https://avatars.discourse-cdn.com/v4/letter/c/8baadc/32.png) [@Chakana](https://community.make.com/u/Chakana)\
**Post date:** [January 1, 2024, 7:13pm UTC](https://community.make.com/t/filter-in-airtable-search-records-not-working/23016/6 "2024-01-01T19:13:31Z")

</div>

Thanks Ishan and Samliew,

On seeing in Samliew’s response that CONTAINS is not a function Airtable will understand, I found a function that makes the trick, which is:

IF(SEARCH(“{{44.tag\_id[1]}}”,{ra\_attribute\_category\_tags}&" ")\> 0, TRUE(), FALSE())

 ![Screenshot 2024-01-02 at 6.12.07 am](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/c/d/cd081a7956d9ed16a65a34baf43d5f6de1c7335e.png)

I really appreciate the guidance provided by both of you, which helped me to identify a solution.

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [January 2, 2024, 12:47am UTC](https://community.make.com/t/filter-in-airtable-search-records-not-working/23016/7 "2024-01-02T00:47:10Z")

</div>

No problem, glad I could help!

---

<div class="post-metadata">

**Author:** ![vendy](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/vendy/32/12635_2.png) [@vendy](https://community.make.com/u/vendy)\
**Post date:** [January 2, 2024, 9:41am UTC](https://community.make.com/t/filter-in-airtable-search-records-not-working/23016/8 "2024-01-02T09:41:32Z")

</div>

Hi @Chakana 👋,  
Congratulations on solving this puzzle with @Ishan’s and @samliew’s help! 🧩

Thanks a lot for remembering to share your insights with us and marking them as a solution. This way our community stays tidy, neat, and easy to look for solutions. 🧹

Keep up the great work!

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [January 15, 2024, 7:27pm UTC](https://community.make.com/t/filter-in-airtable-search-records-not-working/23016/9 "2024-01-15T19:27:20Z")

</div>


