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 2021/10/27 09:44:33 UTC

[GitHub] [superset] graceguo-supercat opened a new issue #17241: [dashboard][cascading filters]

graceguo-supercat opened a new issue #17241:
URL: https://github.com/apache/superset/issues/17241


   **Is your feature request related to a problem? Please describe.**
   This is an example how to build cascading filter from filter_boxes.
   
   1. build dashboard with some filters like this
   <img width="1510" alt="Screen Shot 2021-10-27 at 2 35 26 AM" src="https://user-images.githubusercontent.com/27990562/139040173-91ffb39f-29c5-435f-9820-8a40e1a2fcc8.png">
   
   2. set filter scope for time filter (apply to all charts), region filter (only apply to country filter), country filter (only apply to Growth rate chart):
   
   3. test:
   - change time filter: all charts and filter_boxes will be impacted
   - change region filter: only country filter will be updated. it will only load countries from selected regions.
   - change country filter: only growth rate chart will be impacted. it will display data for the selected country.
   
   ![YlmHi3ifhg](https://user-images.githubusercontent.com/27990562/139041641-1d361e45-9690-4bd6-82c5-3c8825c2caf6.gif)
   
   
   4. in this example:
   - time filter has 2 children filters, no parent filter
   - region filter: 1 parent, 1 child filter
   - country filter: 2 parents, no child filter
   
   cc @junlincc @michael-s-molina 


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