# How to filtering repeating group via date range?

**URL:** <https://forum.bubble.io/t/how-to-filtering-repeating-group-via-date-range/186638>\
**Category:** Questions\
**Created:** [January 16, 2022, 1:20am UTC](https://forum.bubble.io/t/how-to-filtering-repeating-group-via-date-range/186638 "2022-01-16T01:20:24Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![reeceb](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@reeceb](https://forum.bubble.io/u/reeceb)\
**Post date:** [January 16, 2022, 1:20am UTC](https://forum.bubble.io/t/how-to-filtering-repeating-group-via-date-range/186638/1 "2022-01-16T01:20:24Z")

</div>

Hi Guys,  
I have a date range i’d like to filter items (RG) with. Each item has unavailable days as a list of dates. I’d only like to show items that are available within the date range but i can’t figure out the right expression, can anyone help?

---

<div class="post-metadata">

**Author:** ![reeceb](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@reeceb](https://forum.bubble.io/u/reeceb)\
**Post date:** [January 17, 2022, 12:08am UTC](https://forum.bubble.io/t/how-to-filtering-repeating-group-via-date-range/186638/2 "2022-01-17T00:08:23Z")

</div>

Anyone know how to do this?

---

<div class="post-metadata">

**Author:** ![keith](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/keith/32/56020_2.png) [@keith](https://forum.bubble.io/u/keith)\
**Post date:** [January 17, 2022, 7:48am UTC](https://forum.bubble.io/t/how-to-filtering-repeating-group-via-date-range/186638/3 "2022-01-17T07:48:04Z")

</div>

It’s complicated and ineffecient to do this in vanilla Bubble. My Calendar Grid Pro and Parallels commercial plugins can both do this (in slightly different ways).

I’ve written so much about this that I have little else to offer on the subject beyond what I’ve already written and made videos about.

It’s much easier to just write some code. There are multitudes of problems with Bubble date ranges and Bubble’s internal date range logic/represention that preclude you from doing what you need to do in an efficient way. This is one of those cases where you literally need to turn to plugins or code-based solutions.

---

<div class="post-metadata">

**Author:** ![reeceb](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@reeceb](https://forum.bubble.io/u/reeceb)\
**Post date:** [January 17, 2022, 10:54am UTC](https://forum.bubble.io/t/how-to-filtering-repeating-group-via-date-range/186638/4 "2022-01-17T10:54:03Z")

</div>

I am using Calendar Grid Pro and the user selects dates via that, but what is the right expression to filter based on that range (in the way i asked in the first post?)

Thanks

---

<div class="post-metadata">

**Author:** ![reeceb](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@reeceb](https://forum.bubble.io/u/reeceb)\
**Post date:** [January 19, 2022, 9:31am UTC](https://forum.bubble.io/t/how-to-filtering-repeating-group-via-date-range/186638/5 "2022-01-19T09:31:42Z")

</div>

![image](https://us1.discourse-cdn.com/bubble/original/3X/1/6/16e600303ac019f051fa8ae0a8d1401a4478c44a.png)

The “dates blocked” are the list of dates i’m trying to filter out. I only want to show the item that has no dates blocked during that date range. Does someone know how to do this?

---

<div class="post-metadata">

**Author:** ![keith](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/keith/32/56020_2.png) [@keith](https://forum.bubble.io/u/keith)\
**Post date:** [January 19, 2022, 10:16am UTC](https://forum.bubble.io/t/how-to-filtering-repeating-group-via-date-range/186638/6 "2022-01-19T10:16:52Z")

</div>

You’re speaking with the author of Calendar Grud Pro right now. I believe I added a utility function for your use case. Have you checked out the “Util” actions in Calendar Grid Pro?

---

<div class="post-metadata">

**Author:** ![reeceb](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@reeceb](https://forum.bubble.io/u/reeceb)\
**Post date:** [January 19, 2022, 12:10pm UTC](https://forum.bubble.io/t/how-to-filtering-repeating-group-via-date-range/186638/7 "2022-01-19T12:10:31Z")

</div>

Yes i have, however they are workflows, i’m looking for the right search expression to exclude listings with the blocked out dates.

---

<div class="post-metadata">

**Author:** ![reeceb](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@reeceb](https://forum.bubble.io/u/reeceb)\
**Post date:** [January 19, 2022, 1:11pm UTC](https://forum.bubble.io/t/how-to-filtering-repeating-group-via-date-range/186638/8 "2022-01-19T13:11:29Z")

</div>

@keith can you also please clarify how this expression is supposed to work? I’m just trying to find out if the date range is longer than variable days booked.  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/b/8/b84685b23c245b43a976686111a2a9201cc7a656.png)

---

<div class="post-metadata">

**Author:** ![juandavidreyesgaviri](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@juandavidreyesgaviri](https://forum.bubble.io/u/juandavidreyesgaviri)\
**Post date:** [December 18, 2023, 6:44pm UTC](https://forum.bubble.io/t/how-to-filtering-repeating-group-via-date-range/186638/9 "2023-12-18T18:44:38Z")

</div>

Hi reeceb, were you able to solve it? I have the same doubt, Could you help me
