zhaoyongjie edited a comment on issue #17628:
URL: https://github.com/apache/superset/issues/17628#issuecomment-1061670554


   @geido @niyouzhu refer from Dremio Document: 
https://docs.dremio.com/software/sql-reference/sql-functions/functions/istrue/?parent=boolean
   
   There is a workaround for this case.
   1. create a derived column(calculated column in Superset). the new derived 
column type is an integer.
   ```SQL
   CASE
     when ISTRUE(IsDeleted) then 1
     else 0
   END
   ```
   
   2. create a select in FilterBox use the derived column instead of original 
column.
   
   


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

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

Reply via email to