Incubator-superset: Time option in FilterBox

Created on 23 Jun 2016  路  18Comments  路  Source: apache/incubator-superset

This is discussed on other issues/comments, adding new issue to track this.
Current FilterBox does not support Time dimension. It would be nice to have boolean like
show time filter in FilterBox that would show as two datepickers at the top of the widget.

References.
https://github.com/airbnb/caravel/issues/499
https://github.com/airbnb/caravel/issues/363#issuecomment-211705872

airbnb request

Most helpful comment

All 18 comments

Yes I agree. How should we deal with dashboard having slices across different datetime columns? Apply the filter across the board?

I think being able to filter the entire dashboard by time interval would be very helpful. In addition to an dashboard-wide filter, each slice could have an option to edit the time interval from the directly in the dashboard.

How should we deal with dashboard having slices across different datetime columns?
When the user changes the dashboard time filter, it should propagate the date down to all the slices. Default can be left as whatever the datetime set on the slices.

Is this going to be implemented,I think it a important and useful filter to have. When can we expect it.

Agreed. A dashboard-wide date/time filter will be really useful! Perhaps let it override individual slices date/time filters?

Please add this feature!

would love to have this feature, or contribute if necessary.

Please add this feature! Almost every person using caravel in our company has asked for a dashboard wide time filter.

Is it better to create dashboard with a different time granularity and date option ?
with a template of previous dashboards(slices included). Can anyone suggest how to do it with any pull request reference ?

@mistercrunch ideally, you want to control Time Granularity and Filters from the dashboard. Typical use case would be show me data for time range with these filters for the whole dashboard.

If you could point me in the right direction, I am happy to look into it.

One of the best date pickers I found.
https://github.com/dangrossman/bootstrap-daterangepicker

I love Caravel, but this item is a real issue for us. My single biggest problem atm.
Without this feature we are forced to make multiple slices/dashboards for different time periods which is very wasteful, non-DRY.

Yes I agree. How should we deal with dashboard having slices across different datetime columns? Apply the filter across the board?

Yes please Apply the filter across the board if filter is set.

@agfunder - time filter is implemented.
screen shot 2016-09-30 at 12 04 03 pm
screen shot 2016-09-30 at 12 03 56 pm

I noticed there is some basic cross-filtering implemented (clicking on a row in data table slice) which filters all other slices in the dashboard. Is there a way to add cross-filtering to the line chart time filter widget? perhaps pass the date/time range to the time range fields in the filter slice? This seems to be a feature that many users have asked me about. Thanks!

Hi, Is there any way to change the label of Filter_box filters, the column name is coming as filter label, unable to change , please cuggest

I didn't find a answer, but is it possible to select a range of date from the dashboard and not a predefined value of day / hour etc.. ?

@bkyryliuk where is code for superset time filter shown in the picture? very appreciate

Was this page helpful?
0 / 5 - 0 ratings