Bug description
When you create an aggregated Table chart and activate the Time comparison section, once you add the chart to a dashboard and use the option to change its layout, the column names get displayed in an incorrect order, producing confusion when you read the data.
Reproduction:
- Create a table chart with some aggregated data
- Assign a date filter interval
- Assign an option to the Time Comparison section
- Add multiple metrics
- Change the table layout by hiding some comparison types
Expected results
When you change the Layout of the table, the column names should not move
Actual results
The column names are overlapped in an incorrect order
Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.11
Node version
18 or greater
Browser
Firefox
Additional context
No response
Checklist
- [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
Comment From: LisaHusband
@msyavuz If this issue hasn’t been assigned yet, I’d love to take it on
Comment From: msyavuz
@LisaHusband https://github.com/apache/superset/issues/34142#issuecomment-3064948823
Comment From: payose
@msyavuz I'm interested in working on this.