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


   @sedhha 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 apply 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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to