Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding dashboard filters, then exploring doesn't carry over filters #3172

Closed
3 tasks done
joshwalters opened this issue Jul 21, 2017 · 4 comments
Closed
3 tasks done

Comments

@joshwalters
Copy link
Contributor

joshwalters commented Jul 21, 2017

  • I have checked the superset logs for python stacktraces and included it here as text if any
  • I have reproduced the issue with at least the latest released version of superset
  • I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

0.18.5

Expected results

If filters are applied in a dashboard with a filter slice, and a slice in the dashboard is explored, the filter from the dashboard should carry over.

Users will investigate data changes by adding filters to the dashboard, then they should be able to dig into any slice and still have all the filters applied.

Actual results

The slice the user explores does not carry over the dashboard filters, it reverts to the default filters for that slice.

Steps to reproduce

Make a dashboard with a filter and another slice (time series chart for example). Add a filter in the dashboard via the filter slice. Then click on explore in the time series slice. The filter will not carry over.

@joshwalters joshwalters changed the title Dashboard filters then expand doesn't carry over filters Adding dashboard filters, then exploring doesn't carry over filters Jul 21, 2017
@joshwalters
Copy link
Contributor Author

It looks like this idea has been mentioned before in other issues, but never raised as a enhancement:

#2890 (comment)

@fufjvnvnf
Copy link

I don't think the filters should be carried over. Slices should be viewed as individuals objects. Suppose you have another dashboard that uses the same slice, and it has its own filters; would you want filters from each dashboards be applied to the slice? In that case it's likely that all data are filtered out and you don't even get to see your chart.

@mistercrunch
Copy link
Member

Yes it's one of those where people might disagree on the expected outcome.

I agree with @joshwalters and think that clicking "explore" should preserve the context of the filtered dashboard, but perhaps make it clear that you're in a "mutated" slice.

@joshwalters
Copy link
Contributor Author

This was fixed with the merge of #3461

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants