Allow relative dates for default values in SQL variables
Per a [Discourse discussion](http://discourse.metabase.com/t/defaulting-dates-in-sql-questions/1250). Right now you can only select a single date, though there are lots of times where you'd want the default to be "today" or "last 30 days":  I suppose the challenge is that many of our relative date selections are actually `between` clauses, meaning you're actually mapping to two variables. There are some exceptions, such as "today," but not sure how we'd do "Last 30 days" with our current SQL template tags. :arrow_down: Please click the :+1: reaction instead of leaving a `+1` or `update?` comment
Posted by mazameli on Mar 9, 2017, 8:30 PM
Tags
Related issues
- struct's lifetime requirements can be bypassed via covariant field assignment
- Proposal to Reorganize the Moderation Team and Review Moderation Policies
- Progressive FPS degradation appears to be related to dota2.com — blocking the domain prevents the performance loss
- proposal: container/...: generic collection types
- Better Custom Endpoint BYOK
- A concrete policy for backward compatibility until Godot 5.0
Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments
github (Other)
struct's lifetime requirements can be bypassed via covariant field assignment
Proposal to Reorganize the Moderation Team and Review Moderation Policies
Progressive FPS degradation appears to be related to dota2.com — blocking the domain prevents the performance loss
proposal: container/...: generic collection types
Better Custom Endpoint BYOK
A concrete policy for backward compatibility until Godot 5.0
New MTP models not supported
Tracking: 429 / Capacity Issues
Allow relative dates for default values in SQL variables
Per a [Discourse discussion](http://discourse.metabase.com/t/defaulting-dates-in-sql-questions/1250). Right now you can only select a single date, though there are lots of times where you'd want the default to be "today" or "last 30 days":  I suppose the challenge is that many of our relative date selections are actually `between` clauses, meaning you're actually mapping to two variables. There are some exceptions, such as "today," but not sure how we'd do "Last 30 days" with our current SQL template tags. :arrow_down: Please click the :+1: reaction instead of leaving a `+1` or `update?` comment
Comments (0)
No comments yet. Start the discussion.