remiremi commented on issue #3728: URL: https://github.com/apache/incubator-superset/issues/3728#issuecomment-630320069
It's possible, using the `filter_values` jinja template. Doc: https://superset.incubator.apache.org/sqllab.html#superset.jinja_context.filter_values So it would look like ``` where year(date)= {{ filter_values('year_filter', 2016)[0] }} ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
