Filter by date on panel in dashboard to show calendar months

Filter by date on panel in dashboard to show calendar months

In my dashboard page, I am creating a panel showing count of selected records based on date. I want to show each calendar month of the year. i'm not sure how to do this using the date filter options. i can do for each month in 2020, using calendar options 'before' and 'after' but I want the dashboard to roll over into next year and the next etc. So essentially, I need, "if month is January, if month is February" etc. Any ideas?