Open fzhengTT opened 8 months ago
I have the same issue. Did you have any luck to resolve the issue yet? It seems like the date filtering doesn't like it when the filter is not on the default date column and/or the date in the x-axis is not the same date that gets filtered.
Bug description
I'm using a dataset with 3 time columns:
submission_ts
,start_ts
, andend_ts
. I made a bar chart withsubmission_ts
on the x-axis and the count of training jobs on the y-axis,submission_ts
is by default placed in the Filter section of the chart.In the dashboard, I have a time column and time range filter. Ideally, I want to plot
submission_ts
on the x-axis of the bar chart and filter data usingstart_ts
orend_ts
. After I selectedstart_ts
for time column dashboard filter andLast Day
for time range dashboard filter, the bar chart presented a bug like the screenshot below: ticks/units disappear on the x-axis, incorrect unit on the y-axis, incorrect dimension/legend (seems likestart_ts
is being treated as one of the dimensions).I also noticed that the SQL query which powers the bar chart is not rendered correctly (see the screenshot below). The outer most SELECT statement selects the time column chosen for the filter, but not the time column I chose to put on the x-axis.
How to reproduce the bug
I also noticed that in the video Apache Superset: Dashboard filters 101 (https://www.youtube.com/watch?v=cafjAk7t5MM&t=615s), at 11min 43s, after the presenter applied the filters, the chart Sales over Time (first row second column) also had the same bug as I described here.
Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.9
Node version
I don't know
Browser
Chrome
Additional context
No response
Checklist