EvilDrW opened a new issue #17927:
URL: https://github.com/apache/superset/issues/17927


   ## [SIP-77] Proposal for Traversing Hierarchical Data ("Drill Down")
   
   ### Motivation
   
   Many data sets have a natural hierarchy.  When viewing these data sets, a 
common user request is to apply filters for each tier of the hierarchy 
iteratively.  While superset provides accommodations to define these filters, 
the available methods are far from intuitive.  A more appropriate user 
interaction would be:
   1. Display only values for the highest tier in the hierarchy
   2. User clicks one of the displayed values
   3. Superset filters based on the selected value
   4. Return to #1, showing only values for the next tier
   
   ### Proposed Change
   
   The proposed feature will provide an "enable drill down" check box on the 
control panels for all compatible chart types.  Examples of possible compatible 
charts include pie, bar, tree maps, etc.  When selected, the feature will use 
the column names in the "group by" field, in the order that they appear, as the 
data hierarchy.  The iteratively selected filters will, as usual, be applied 
across all charts in the current filter scope (tab, dashboard page, etc.).  The 
current state of the "drill down" will be tracked in the chart's OwnState 
object, as necessary.
   
   For a demonstration of the proposed change on a pie chart, see the videos on 
https://github.com/apache/superset/pull/14688
   
   ### New or Changed Public Interfaces
   
   The only change to the interfaces, as envisioned, is the addition of the 
"enable drill down" checkbox to appropriate charts' control panels.
   
   ### New dependencies
   
   n/a
   
   ### Migration Plan and Compatibility
   
   n/a
   
   ### Rejected Alternatives
   
   n/a
   


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

Reply via email to