# Use one repeating group to filter for another

**URL:** <https://forum.bubble.io/t/use-one-repeating-group-to-filter-for-another/249289>\
**Category:** Need help\
**Created:** [February 28, 2023, 12:30pm UTC](https://forum.bubble.io/t/use-one-repeating-group-to-filter-for-another/249289 "2023-02-28T12:30:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![benjmnjn](https://avatars.discourse-cdn.com/v4/letter/b/bcef8e/32.png) [@benjmnjn](https://forum.bubble.io/u/benjmnjn)\
**Post date:** [February 28, 2023, 12:30pm UTC](https://forum.bubble.io/t/use-one-repeating-group-to-filter-for-another/249289/1 "2023-02-28T12:30:12Z")

</div>

Hi -

I have a horizontal repeating group with some categories (& images), with a separate repeating group underneath with listings. I want to be able to click the the categories/images in the horizontal repeating group to make the repeating group below filter for that selection.

e.g. I want to click “beach homes” with a little beach logo on the horizontal repeating group, and then the vertical repeating group should show only filtered listings for those in the category “beach homes”.

Any suggestions on how to do this?  
Many thanks  
B

---

<div class="post-metadata">

**Author:** ![artemzheg](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/artemzheg/32/9651_2.png) [@artemzheg](https://forum.bubble.io/u/artemzheg)\
**Post date:** [February 28, 2023, 12:34pm UTC](https://forum.bubble.io/t/use-one-repeating-group-to-filter-for-another/249289/2 "2023-02-28T12:34:29Z")

</div>

Create a custom state, store chosen category in it and use custom state’s value as a constraint in “Do a search” in your second RG

---

<div class="post-metadata">

**Author:** ![konrad1](https://avatars.discourse-cdn.com/v4/letter/k/c5a1d2/32.png) [@konrad1](https://forum.bubble.io/u/konrad1)\
**Post date:** [February 28, 2023, 2:06pm UTC](https://forum.bubble.io/t/use-one-repeating-group-to-filter-for-another/249289/3 "2023-02-28T14:06:27Z")

</div>

this is the way 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [May 9, 2023, 12:30pm UTC](https://forum.bubble.io/t/use-one-repeating-group-to-filter-for-another/249289/4 "2023-05-09T12:30:29Z")

</div>

Closed on May 9, 2023, 12:30pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
