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 2019/12/20 19:52:50 UTC

[GitHub] [incubator-superset] saurabh1-singh edited a comment on issue #5547: Adds a new macro to allow getting filter values easily

saurabh1-singh edited a comment on issue #5547: Adds a new macro to allow getting filter values easily
URL: https://github.com/apache/incubator-superset/pull/5547#issuecomment-568066803
 
 
   > This is useful if:
   >         - you want to use a filter box to filter a query where the name of filter box
   >           column doesn't match the one in the select statement
   >         - you want to have the ability for filter inside the main query for speed purposes
   
   This does not work as mentioned in the PR, if the column in filter box does not match the one in the other visualization select statement, it throws error because it tries to wrap the query and apply the filter with the column name of the filter box.
   
   All I want is a query like this
   SELECT col_1 FROM xyz where x >= {{ something }} and x < {{ something else }}
   
   After that I name the column in Filter Box "something" and "something else" but I get error "something" not present in expr_query

----------------------------------------------------------------
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


With regards,
Apache Git Services

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