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/07/06 13:28:29 UTC

[GitHub] [incubator-superset] aussat commented on issue #9974: How to add greater than filter in apache superset?

aussat commented on issue #9974:
URL: https://github.com/apache/incubator-superset/issues/9974#issuecomment-654237965


   Agree, this would be great if dynamic filters added to Superset. I am not sure if it works for your problem, but you can try to use CASE function to the range you need to filter. In order to do this, just add a new column in datasource editor with required SQL, 
   then use this column in FIlter View.
   
   ```
   CASE
       WHEN condition1 THEN result1
       WHEN condition2 THEN result2
       WHEN conditionN THEN resultN
       ELSE result
   END;
   ```


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