tullis opened a new issue, #19880: URL: https://github.com/apache/superset/issues/19880
#### How to reproduce the bug We have a dataset containing value counts in columns, with each row representing a month. Plotting this data on a line chart with a specific range from 2021-01-01 to 2022-01-01 is fine. 12 values are displayed and aligned with the X-Axis correctly. Now go to Advanced Analytics -> Time Shift -> enable one or more values of x years time shift ### Expected results I expected to see each of the additional time shift series overlaid on the original series, without a change in alignment on the X-Axis ### Actual results Each of these additional series is displayed offset by one month. Some go beyond December, others simply start at February. #### Screenshots This screenshot highlights the incorrect alignment.  This screen recording shows the effect when adding those time shifts.  ### Environment - browser type and version: Firefox 99 on Windows (but affects multiple users) - superset version: 1.3.2 (in production) and 1.4.2 (in staging) - python version: 3.7.3 - node.js version: 10.24.0 - any feature flags active: Don't think so - Browser timezone UTC+1 ### Checklist Make sure to follow these steps 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. ### Additional context Here is the output from View Query ``` SELECT date_trunc('month', CAST("month" AS TIMESTAMP)) AS "__timestamp", sum("active_editors") AS "SUM(active_editors)" FROM "cchen"."repo_active_editors" WHERE "month" >= from_iso8601_timestamp('2021-01-01T00:00:00.000000') AND "month" < from_iso8601_timestamp('2022-01-01T00:00:00.000000') AND "market" = 'All' AND "project_family" = 'All' GROUP BY date_trunc('month', CAST("month" AS TIMESTAMP)) ORDER BY "SUM(active_editors)" DESC LIMIT 10000; ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
