metabase / metabase/metabase

Add "At Least/On or after" or "Within" filters to dates

Open
#48,249 0 comments 0 reactions 0 assignees View on GitHub
Querying/GUI Type:New Feature
Dominant language
Clojure
Stars
49.3k
Forks
6.8k
Avg merge
1d 13h
Merged PRs (30d)
653

Description

**Is your feature request related to a problem? Please describe.**
Dashboard users (i.e. customers) may be confused by the simple semantics of choosing all dates in a month by wanting to choose Aug 1. through Aug. 31, for example. "After" August 1 and "Before" August 31 (or "Between" August 1-31) is quite literally incorrect, but some people will choose this, or want the option, because they expect to choose an inclusive date or they've used SQL between, which is inclusive.

**Describe the solution you'd like**
It would be great to have the options of:
- "At least" or "On or after" to have an inclusive start date.
- "At most" or "On or before" to have an inclusive end date.
- "Within" to have an inclusive span selection.

**Describe alternatives you've considered**
Right now I just need to educate people that they should treat "Before" and "After" literally and use the dates abutting those to get the result the want.

**How important is this feature to you?**
Very nice to have.

**Additional context**
Where it might be useful:
image

👋 Hey guys, hope to see some of you at the conj. Metabase rocks! 👋

Contributor guide

Open the contributing guide

Research direction

Start by locating the dashboard date-filter controls and the existing After, Before, and Between semantics; the issue does not name files or tests. Compare those paths with the requested inclusive At least, At most, and Within options, and consider the work done when dashboard users can select inclusive date boundaries consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure, sql
Domain
analytics, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.