You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/05/18 17:14:03 UTC

[GitHub] [incubator-superset] remiremi removed a comment on issue #3728: Can Filter values be passed as a parameter to query

remiremi removed a comment 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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org