# Inline list filter by date

**URL:** <https://community.glideapps.com/t/inline-list-filter-by-date/44992>\
**Category:** Ask for Help\
**Created:** [July 22, 2022, 1:21am UTC](https://community.glideapps.com/t/inline-list-filter-by-date/44992 "2022-07-22T01:21:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephen\_Flournoy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/stephen_flournoy/32/44518_2.png) [@Stephen\_Flournoy](https://community.glideapps.com/u/Stephen_Flournoy)\
**Post date:** [July 22, 2022, 1:21am UTC](https://community.glideapps.com/t/inline-list-filter-by-date/44992/1 "2022-07-22T01:21:28Z")

</div>

I have a table with a list of orders, includes the PO Order Date. I’d like to display the orders that are between two selected dates. I setup a detail page and then added an inline list and two date picker components thinking I could set the dates with the date picker components and then filter by on/before and on/after. I only seem to see the fields in the order sheet and not the detail sheet so I can’t set them and filter by them. I think I’m missing a step, can someone give me a 1.2.3. approach on how you’d do this? Frustrated.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 22, 2022, 1:45am UTC](https://community.glideapps.com/t/inline-list-filter-by-date/44992/2 "2022-07-22T01:45:58Z")

</div>

Step by step…

- Your two date picker components should be targeted at User Specific date/time columns
- In the table that contains the records you want filtered, create two Single Value columns. These should take the values of the User Specific columns and apply them to all rows
- Now create an if-then-else column in the same table using the following logic:  
– If Date is before Single Value Start Date, then null (leave empty)  
– If Date is after Single Value End Date, then null (leave empty)  
– Else true
- Now you can use this if-then-else column to filter your list, showing only those rows where it is checked

---

<div class="post-metadata">

**Author:** ![orth](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/orth/32/29029_2.png) [@orth](https://community.glideapps.com/u/orth)\
**Post date:** [July 22, 2022, 2:01am UTC](https://community.glideapps.com/t/inline-list-filter-by-date/44992/3 "2022-07-22T02:01:11Z")

</div>

[![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/3/a36de7f79d84a25c639ffd2dfb909bd7dc8a12b6.jpeg "Glide: Filter an Inline List with Choice Components") ](https://www.youtube.com/watch?v=NOYFsVUWQXw)

Step by step about filters

---

<div class="post-metadata">

**Author:** ![Stephen\_Flournoy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/stephen_flournoy/32/44518_2.png) [@Stephen\_Flournoy](https://community.glideapps.com/u/Stephen_Flournoy)\
**Post date:** [July 22, 2022, 2:04am UTC](https://community.glideapps.com/t/inline-list-filter-by-date/44992/4 "2022-07-22T02:04:44Z")

</div>

Darren, I created two date columns in the Google Sheet with the records I want filtered called filterStartDate and FilterEndDate. I added two date form entry components to a GlidePage and then connected them to the FilterStartDate and FilterEndDate. When I pick a start and end date ONLY the first record seems to change and the rest of the rows stay blank. I missed something on how to apply them to all rows as you indicated?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 22, 2022, 2:07am UTC](https://community.glideapps.com/t/inline-list-filter-by-date/44992/5 "2022-07-22T02:07:45Z")

</div>

You shouldn’t be doing anything in the Google Sheet at all.

Everything I described should be done inside your Glide Tables. If you follow those instructions carefully, it will work.

---

<div class="post-metadata">

**Author:** ![Stephen\_Flournoy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/stephen_flournoy/32/44518_2.png) [@Stephen\_Flournoy](https://community.glideapps.com/u/Stephen_Flournoy)\
**Post date:** [July 22, 2022, 2:12am UTC](https://community.glideapps.com/t/inline-list-filter-by-date/44992/6 "2022-07-22T02:12:04Z")

</div>

I’m trying. I just mentioned I was using a Google Sheet as my datasource, not creating the column in it. I think maybe I missed that I have to make columns in Glide user specific? I’ll try this next.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 22, 2022, 2:31am UTC](https://community.glideapps.com/t/inline-list-filter-by-date/44992/7 "2022-07-22T02:31:38Z")

</div>

Yes, both columns that your date pickers write to should be user specific. This is to ensure that the same filter can be used by two or more users at the same time.  
The Single Value columns apply those values to all rows.  
And then the if-then-else column compares the date of each record to the selected start and end dates.
