You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/01/07 17:40:10 UTC

[GitHub] [superset] betodealmeida commented on issue #17927: [SIP-77] Traversing Hierarchical Data ("Drill Down")

betodealmeida commented on issue #17927:
URL: https://github.com/apache/superset/issues/17927#issuecomment-1007600171


   > @betodealmeida , has any consideration been given to adding hierarchical dimension semantics to the new dataset models?
   
   @villebro We have not, but we definitely should. It could be as simple as defining the parent column in the dataset, eg, in `city` we'd set `state` as the parent dimension, in `state` we'd set `country`, and so on.
   
   @EvilDrW I have questions about additive metrics. When you're at the country level, how do you compute the metrics, do you run a query with only `country` in the group by or do you run the full group by (`country`, `state`, `city`) and add the values? If the latter we should think how we're going to handle non-additive metrics like `COUNT DISTINCT` — this is another area where the semantic layer can help.


-- 
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-unsubscribe@superset.apache.org

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