superset-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-superset] KoomeKiriinya commented on issue #7851: Writing a CASE statement in Custom SQL Lab with Filter Box
Date Wed, 16 Sep 2020 12:20:53 GMT

KoomeKiriinya commented on issue #7851:
URL: https://github.com/apache/incubator-superset/issues/7851#issuecomment-693368587


   Hey How do I go about a custom metric that requires me to AVF when a certain selection
is chosen on the filter and SUM otherwise
   e.g CASE WHEN columnA = "Price" THEN SUM(columnA) ELSE AVG(columnA) 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


Mime
View raw message