# Filter RG #2 based on RG #1

**URL:** <https://forum.bubble.io/t/filter-rg-2-based-on-rg-1/277346>\
**Category:** Need help\
**Created:** [August 11, 2023, 2:22am UTC](https://forum.bubble.io/t/filter-rg-2-based-on-rg-1/277346 "2023-08-11T02:22:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![brendan.a.ford](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@brendan.a.ford](https://forum.bubble.io/u/brendan.a.ford)\
**Post date:** [August 11, 2023, 2:22am UTC](https://forum.bubble.io/t/filter-rg-2-based-on-rg-1/277346/1 "2023-08-11T02:22:10Z")

</div>

Hi,

I’m trying to filter the results in my RG list #2 based on the user’s selection of RG #1. Specifically, projects (RG#2) within a workspace (RG#1).

Screenshot below is from RG#2. Currently I’m trying to do an advance filter but not having any luck.

 ![Screenshot 2023-08-11 at 2.25.06 PM](https://us1.discourse-cdn.com/bubble/original/3X/b/7/b79277a827bc520cb4b51d49e7921207fae4f601.png)

Any ideas or suggestions welcome! Thanks

---

<div class="post-metadata">

**Author:** ![boston85719](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/boston85719/32/77286_2.png) [@boston85719](https://forum.bubble.io/u/boston85719)\
**Post date:** [August 11, 2023, 3:46am UTC](https://forum.bubble.io/t/filter-rg-2-based-on-rg-1/277346/2 "2023-08-11T03:46:49Z")

</div>

make a custom state that is of the type of content rg 1 is, and call it something like ‘selected value’ and then in the rg 2 use the custom state value as the value used in filter constraints

---

<div class="post-metadata">

**Author:** ![brendan.a.ford](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@brendan.a.ford](https://forum.bubble.io/u/brendan.a.ford)\
**Post date:** [August 11, 2023, 6:33am UTC](https://forum.bubble.io/t/filter-rg-2-based-on-rg-1/277346/3 "2023-08-11T06:33:04Z")

</div>

Hmm I’m clearly not doing the second part of this right… any ideas?

 ![Screenshot 2023-08-11 at 6.32.19 PM](https://us1.discourse-cdn.com/bubble/original/3X/2/4/24c3c0f58a59cb18f7e0c2d8089bdaa446a6d650.png)

---

<div class="post-metadata">

**Author:** ![boston85719](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/boston85719/32/77286_2.png) [@boston85719](https://forum.bubble.io/u/boston85719)\
**Post date:** [August 11, 2023, 8:48am UTC](https://forum.bubble.io/t/filter-rg-2-based-on-rg-1/277346/4 "2023-08-11T08:48:57Z")

</div>

don’t know why you are using the advanced filter, or why you are not putting the constraint into the search itself…if you share more information about your data structure etc. it would be easier to point out what else you might be doing wrong.

---

<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:** [October 20, 2023, 2:22am UTC](https://forum.bubble.io/t/filter-rg-2-based-on-rg-1/277346/8 "2023-10-20T02:22:23Z")

</div>

Closed on October 20, 2023, 2:22am UTC

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