# Filtering issue: when i select 'vegan' also show me 'vegan, high protein'

**URL:** <https://community.glideapps.com/t/filtering-issue-when-i-select-vegan-also-show-me-vegan-high-protein/4783>\
**Category:** Ask for Help\
**Created:** [February 20, 2020, 1:10am UTC](https://community.glideapps.com/t/filtering-issue-when-i-select-vegan-also-show-me-vegan-high-protein/4783 "2020-02-20T01:10:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pwnklr](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pwnklr/32/2003_2.png) [@pwnklr](https://community.glideapps.com/u/pwnklr)\
**Post date:** [February 20, 2020, 1:10am UTC](https://community.glideapps.com/t/filtering-issue-when-i-select-vegan-also-show-me-vegan-high-protein/4783/1 "2020-02-20T01:10:53Z")

</div>

Couldn;t find an answer to this so far in the forum, apologies if answered somewhere and I didn’t see it.

I am trying to categorise meals and to come up with a solution so a meal doesn’t only have one category like ‘vegan’, but could also be ‘vegan, high protein’.

Attached the screenshot how the filtering would currently exclude ‘vegan, high protein’ when looking for ‘vegan’.

Thank you!

 ![Screenshot 2020-02-20 at 01.58.35](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/f/fa37cda56d250184e4e1787260565af64568fd72.png) ![Screenshot 2020-02-20 at 01.58.44](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/1/1449b6ad57566660d365bf2cbc95c56b0bd1f91d.png)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [February 21, 2020, 3:25am UTC](https://community.glideapps.com/t/filtering-issue-when-i-select-vegan-also-show-me-vegan-high-protein/4783/2 "2020-02-21T03:25:10Z")

</div>

Try creating an array column in you meals sheet by creating multiple ‘Type’ columns.

- In your meals sheet, create as many columns as you need that look like this ‘Type 1’, ‘Type 2’, ‘Type 3’, etc.
- For each meal you can now assign multiple types, so for one of your meals, you can fill ‘Type 1’ with ‘Vegan’ and fill ‘Type 2’ with ‘Vegan, High Protein’.
- Glide will create an array column named ‘Type’ from all of the numbered Type columns you created.
- Use the array Type column for your filter and it will filter by multiple columns, so if you select Vegan, for your filter, the meal that has Type 1 as Vegan and Type 2 as Vegan High Protein will show up. If you only pick Vegan High Protein in the filter, the same meal will still show.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [February 21, 2020, 3:54am UTC](https://community.glideapps.com/t/filtering-issue-when-i-select-vegan-also-show-me-vegan-high-protein/4783/3 "2020-02-21T03:54:07Z")

</div>

🙌 Veganism!

---

<div class="post-metadata">

**Author:** ![pwnklr](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pwnklr/32/2003_2.png) [@pwnklr](https://community.glideapps.com/u/pwnklr)\
**Post date:** [February 21, 2020, 9:17pm UTC](https://community.glideapps.com/t/filtering-issue-when-i-select-vegan-also-show-me-vegan-high-protein/4783/4 "2020-02-21T21:17:05Z")

</div>

That’s neat, works, thank you!

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [February 21, 2020, 9:18pm UTC](https://community.glideapps.com/t/filtering-issue-when-i-select-vegan-also-show-me-vegan-high-protein/4783/5 "2020-02-21T21:18:49Z")

</div>

Super handy trick. I’ll need to leverage this in the future.

---

<div class="post-metadata">

**Author:** ![ellro](https://avatars.discourse-cdn.com/v4/letter/e/bbe5ce/32.png) [@ellro](https://community.glideapps.com/u/ellro)\
**Post date:** [February 27, 2020, 4:35pm UTC](https://community.glideapps.com/t/filtering-issue-when-i-select-vegan-also-show-me-vegan-high-protein/4783/6 "2020-02-27T16:35:48Z")

</div>

Thank you for this!
