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 2019/01/10 16:18:36 UTC

[GitHub] mistercrunch edited a comment on issue #6623: How to have multiple filters on dashboard affecting different charts?

mistercrunch edited a comment on issue #6623: How to have multiple filters on dashboard affecting different charts?
URL: https://github.com/apache/incubator-superset/issues/6623#issuecomment-453153587
 
 
   So with `filter_immune_slices`, `filter_immune_slice_fields` and `timed_refresh_immune_slices`, we should have be able to make this work. 
   http://superset.apache.org/faq.html#how-to-limit-the-timed-refresh-on-a-dashboard
   
   Also FYI the idea of "scoped filters" is that the filters would only apply to their context in a dashboard, so if the filter is located in the header of a tab, it applies to the tab, if it's located above the tab bar, it applies to all tabs, if it's within a section, it applies only to that section, ...
   
   In theory you can make a dashboard behave as if it had "scoped filters" using what's documented in the FAQ entry I linked to above. It's more flexible than scoped filters (but much harder to setup), because you can set things up so that any filter can apply any subset of charts.
   
   For your use case, it may be possible to do what you are trying to do using `filter_immune_slice_fields` with the special field `__time`. Your case is a bit special because you have 2 `Filter Box` components that emit filtering events on the same "field" (`__time`) and that may not be handled properly.
   
   I have to look at the code to see whether the `filter_immune_slice_fields` + `__time` approach would work not, and if not, what it would take to make it work.
   
   Did you try `filter_immune_slice_fields` using `__time` yet btw?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org