# Filtering a Monthly Calendar

**URL:** https://community.glideapps.com/t/filtering-a-monthly-calendar/78060
**Category:** Ask for Help
**Created:** [November 20, 2024, 12:44pm UTC](https://community.glideapps.com/t/filtering-a-monthly-calendar/78060 "2024-11-20T12:44:48Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Glider10](https://avatars.discourse-cdn.com/v4/letter/g/bc8723/32.png) [@Glider10](https://community.glideapps.com/u/Glider10)
#### Post date: [November 20, 2024, 12:44pm UTC](https://community.glideapps.com/t/filtering-a-monthly-calendar/78060/1 "2024-11-20T12:44:48Z")

</div>

I’m working on an exercise (running) app that is based off of a monthly point system. When I look at the monthly leaderboard, I get the users entire workout history and it brings in multiple months.

How can I filter the leaderboard to only read workouts that happened in November? Or October, etc?

Thank you!!

---

<div class="post-metadata">

### Author: ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)
#### Post date: [November 20, 2024, 3:44pm UTC](https://community.glideapps.com/t/filtering-a-monthly-calendar/78060/2 "2024-11-20T15:44:15Z")

</div>

You can create a Date Format computed column in the same table:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/9/097e05ce7d9e3c3c772e4e69b75687a1795c786a.png)

In the user profile table, create a column for the selected filter:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/0/10938e933113066294dda39f64a572a87ac36fce.png)  
You can set it as user-specific, but it doesn’t really matter.

Create a table with month names:

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

In the main data table, add an if then else column to tell if the data must be shown or not:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/0/e0e7a5810fa802fcad1945a9a5ec6be97c03791e.png)

In the layout editor, add a choice component and set the source to the month names table. Write to the user profile → selected filter that you created earlier:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/2/223bbe98f886433a4d7107530c873562c81ac715.png)  
If you want to filter with multiple months, check the “allow selecting multiple” option.

On the collection, set a filter with a single option:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/2/02a23951d5758ff6d46b74f3d655efc3f5bb31d2.png)

Voilà!

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/d/2d7c1f8c04e494f5b7694ebb15f3bd45c339e27f.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/9/b9d37188f7a438c7dbe724a59f5a95934983f716.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/e/fe04f640432151986b524531cb6e923fd66f4c99.png)

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [November 21, 2024, 12:58am UTC](https://community.glideapps.com/t/filtering-a-monthly-calendar/78060/3 "2024-11-21T00:58:44Z")

</div>

> [@Glider10](#):
>
> How can I filter the leaderboard to only read workouts that happened in November? Or October, etc?

Wouldn’t you want November 2024, October 2024 instead of just the month?

---

<div class="post-metadata">

### Author: ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)
#### Post date: [November 21, 2024, 2:05am UTC](https://community.glideapps.com/t/filtering-a-monthly-calendar/78060/4 "2024-11-21T02:05:21Z")

</div>

If you do @Glider10, just add YYYY to the template

---

<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: [November 21, 2024, 3:27am UTC](https://community.glideapps.com/t/filtering-a-monthly-calendar/78060/5 "2024-11-21T03:27:42Z")

</div>

Inspiration:

> [@🗓️ Dynamically filter an inline list by TIMEFRAME (Parts 1 & 2)!](https://community.glideapps.com/t/dynamically-filter-an-inline-list-by-timeframe-parts-1-2/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)

---

<div class="post-metadata">

### Author: ![Luther](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/luther/32/17929_2.png) [@Luther](https://community.glideapps.com/u/Luther)
#### Post date: [November 21, 2024, 5:44am UTC](https://community.glideapps.com/t/filtering-a-monthly-calendar/78060/6 "2024-11-21T05:44:34Z")

</div>

This is still my go to post everytime i have to work with dates filtering 🤩 Gold

---

<div class="post-metadata">

### Author: ![Glider10](https://avatars.discourse-cdn.com/v4/letter/g/bc8723/32.png) [@Glider10](https://community.glideapps.com/u/Glider10)
#### Post date: [November 22, 2024, 10:00pm UTC](https://community.glideapps.com/t/filtering-a-monthly-calendar/78060/7 "2024-11-22T22:00:39Z")

</div>

Thanks y’all! I love this community. Worked quite well!
