Fix time range view on dashboard
Make sure these boxes are checked before submitting your issue - thank you!
- [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
- [x] I have reproduced the issue with at least the latest released version of superset.
- [x] I have checked the issue tracker for the same issue and I haven't found one similar.
Superset version
0.999.0dev
Expected results
Actual results
Steps to reproduce
I set the time range for the Filter Box in explore is "No Filter". But when on dashboard by default it will show "Last Week". So how to fix it?
I have checked from 0.28 to 0.29.0RC7, this bug has not fixed. I suggested to escalate this bug to top priority because it will lead un-using for whole Superset.
+1
I met the same problem
I met the same problem
Can't reproduce on master
I am also having the same problem. I also suffer from the filter box disappearing from the dashboard when selecting a new time range. You get the following javascript error:
Uncaught TypeError: Cannot read property 'map' of undefined
at filter_box.885b5b9fd31f4d3caa48.chunk.js:2
at Array.forEach (
Cant we change "Relative to today" to "Relative to now"? Because Relative to today starts showing data from present day's 00:00:00 right?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.
This bug has not been fixed, why marked as stale?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.
This issue should be solved asap because this is very very misleading.
Can we have someone take a look at this? We've had this as a problem for a few months now and this is the most recent place I've seen any update on the subject.
Hi all I am having the same issue. Whatever selection I have on my filter box chart, the dashboard defaults to "last week". Is there any plan to fix this or is there a workaround? Maybe I am mssing something. Thanks
I found that if we follow these steps, we can fix this issue:
- Display the dashboard
- Select the appropriate time range
- Edit the dashboard
- Fake change
- Save
I met the same problem, not only time range.
Version: 0.38.1
Problems:
- set up "No filter" in chart, and import into a Dashboard, the default filter has been changed(like one time range filter at one moment cached by Superset forever).
- I can not choose the right point, I have to choose
No filterthenreal time rangemanually.
How to resolve:
- edit
Dashboardconfig - edit
JSON Metadata, params from"default_filters": "{\"11\": {\"__time_range\": \"2023-10-23T00:00:00 : 2023-10-25T00:00:00\"}}to"default_filters": "{\"11\": {\"__time_range\": \"No filter\"}} - save config, then cached time range problem fixed.