zhaoyongjie edited a comment on issue #19278:
URL: https://github.com/apache/superset/issues/19278#issuecomment-1073808813
> is there is away to cast a filter option from 0 , 1 to true or false ?
Hey there, the `calculated column` in the Dataset configuration can do the
case.
```
case
when col = 0 then false
when col = 1 then true
else NULL
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]