GitHub user taobojlen closed the discussion with a comment: Formulas in Superset
For future travelers: I think this is doable by adding a custom metric to the dataset. In my case, I added ```sql 100.0 * SUM(CASE WHEN browser = 'Firefox' THEN 1 ELSE 0 END) / COUNT(*) ``` and it seems to work! GitHub link: https://github.com/apache/superset/discussions/33842#discussioncomment-13532650 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
