durchgedreht opened a new issue #10688:
URL: https://github.com/apache/incubator-superset/issues/10688


   Hi,
   is it possible to have a filterbox with mutiple filters whose filter options 
are dependant on the already selected entries?
   
   Let's say we have the following table "sold_products":
   ```
   customer  | product | product_category | revenue
   ----------+---------+------------------+-----------
   alice     | teddy   | toys             | 20
   alice     | doll    | toys             | 10
   alice     | skirt   | clothes          | 25
   bob       | car     | toys             | 15
   bob       | holmes  | books            | 10
   ``` 
   
   Then I create a Filter Box with 
   
   - customer
   - product
   - product_category
   
   I would like to achieve the following:
   
   - When I select "customer" filter = "alice" products filter just shows 
["teddy", "doll", "skirt"]
   - When I select "product_category" filter ="toys" products filter just shows 
["teddy", "doll", "car"]
   - When I select "cutomser" filter ="alice" AND "product_category" filter 
="toys" products filter just shows ["teddy", "doll"]
   
   Currently all values are always shown. Is there a way to achieve the 
behaviour described?  
   I know this will cause some  DB stress, which is acceptable. Thanks! 
   


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to