# Dynamic Filter of Related Lists based on Choice

**URL:** <https://community.glideapps.com/t/dynamic-filter-of-related-lists-based-on-choice/42662>\
**Category:** Ask for Help\
**Created:** [June 2, 2022, 2:26pm UTC](https://community.glideapps.com/t/dynamic-filter-of-related-lists-based-on-choice/42662 "2022-06-02T14:26:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hendrik\_Bolt](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hendrik_bolt/32/39714_2.png) [@Hendrik\_Bolt](https://community.glideapps.com/u/Hendrik_Bolt)\
**Post date:** [June 2, 2022, 2:26pm UTC](https://community.glideapps.com/t/dynamic-filter-of-related-lists-based-on-choice/42662/1 "2022-06-02T14:26:30Z")

</div>

Hey Gliders,

I have done some searching and trying things but I still couldn’t figure out how to accomplish this.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/5/b50c89d942f1db53aa4aa9a56b94a55529565591.png)

What I want to achieve is that I want to filter In (for incoming transactions) and Out (for outgoing transactions) on the related list of my product details. What is the best way to achieve this?

---

<div class="post-metadata">

**Author:** ![justinjmp](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/justinjmp/32/43205_2.png) [@justinjmp](https://community.glideapps.com/u/justinjmp)\
**Post date:** [June 2, 2022, 4:27pm UTC](https://community.glideapps.com/t/dynamic-filter-of-related-lists-based-on-choice/42662/2 "2022-06-02T16:27:00Z")

</div>

How is your data set up? Do you have a column that indicates if a transaction is incoming or outgoing? If not, would you be able to make one?

Or are you trying to add a button or something similar that would allow users to only show incoming or outgoing transactions?

If the latter, you can reference this template to create the buttons. [Raffle Template Template • Glide](https://www.glideapps.com/templates/raffle-template-3k)

I have buttons that switch between raffles and items that you could adapt for incoming and outgoing.

 ![Screen Shot 2022-06-02 at 12.04.58 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/7/170040a7c3c7b3d63d3d8c0cadc2e1217e316fd8.jpeg)

Hope this helps,  
Justin

---

<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:** [June 2, 2022, 7:43pm UTC](https://community.glideapps.com/t/dynamic-filter-of-related-lists-based-on-choice/42662/3 "2022-06-02T19:43:15Z")

</div>

Checkout these posts..:might give you some ideas:

> [@🗓️ Dynamically filter an inline list by TIMEFRAME (Parts 1 & 2)!](https://community.glideapps.com/t/dynamically-filter-an-inline-list-by-timeframe-part-1/42671):
>
> wave Hey fellow Gliders! In this video, learn how to dynamically filter a list of records by timeframes (day, week, month, etc.) using a Choice component, some Math columns and a Make Array column. Also features the concept of a “Work Table” to keep your data tables lean! popcorn Enjoy! Part 1 [[Glide: Dynamically Filter your Data by TIMEFRAMES (Part 1)] ](https://www.youtube.com/watch?v=pApLeMYHFzE)Part 2 [[Glide: Dynamically Filter your Data by DATE RANGE (Part 2)] ](https://www.youtube.com/watch?v=AVSavEhdt6Y)

> [@tornado Use Multiple Choice Components to Filter an Inline List](https://community.glideapps.com/t/use-multiple-choice-components-to-filter-an-inline-list/16932):
>
> [[Glide: Filter an Inline List with Choice Components] ](https://www.youtube.com/watch?v=NOYFsVUWQXw) Updated July 2022 play_button Version 1

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [June 4, 2022, 1:17am UTC](https://community.glideapps.com/t/dynamic-filter-of-related-lists-based-on-choice/42662/4 "2022-06-04T01:17:26Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
