metabase / metabase/metabase

Filter in dashboard should overwrite filter in question.

Open
#2,763 13 comments 29 reactions 0 assignees View on GitHub
Querying/Parameters & Variables Reporting/Dashboards Semantic Layer Type:New Feature
Dominant language
Clojure
Stars
49.3k
Forks
6.8k
Avg merge
1d 13h
Merged PRs (30d)
653

Description

Hi,

First i want to say that the dashboard filters feature looks awesome ! Well done !!

However I realised that to make the daterange filter work you have to remove the filter on timestamp that is in saved question. I think it should overwrite it instead.
The other problem is that because you have to remove them it forces you to make a query on all the data which can be a problem for the database.

Again really great piece of work !

Cheers
Younes

Contributor guide

Open the contributing guide

Research direction

Reproduce a dashboard date-range filter against a saved question that already has a timestamp filter, then trace the dashboard filter and query integration points. Done means the dashboard filter overrides the saved question filter and does not require querying all data after removing the original constraint.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
analytics, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.