qmb-jschwartz opened a new issue, #31027: URL: https://github.com/apache/superset/issues/31027
### Bug description ### In this recently merged pulll request: https://github.com/apache/superset/pull/28312 it says that > The superset feature allows users to choose a non-temporal column for the x-axis. > However, when a non-temporal column is selected, advanced analytics and forecast options are not compatible. This not quite true. We use the __Rolling Window__ functions extensively for our charts with non-temporal fields as the x-axis. I imagine some users might be surprised by this new behavior, as a lot of use-cases need __Rolling Window__ functions. As a workaround, we of course can edit the underlying Datasets. But it was a nice, accessible feature. And now it's gone. And that's sad. As an aside: As long as we do not update the charts, they still show the desired behavior (with applied rolling window function) - we just cannot edit them :). ### Detailed description of current behavior 1. Go to _/chart/add create_ new to create a new Chart 2. Select one of "Line Chart", "Area Chart" or "Bar Chart" 3. Add a date field as the x-Axis 4. The Advanced Analytics View is shown 5. Add a non-date field as the x-Axis 6. The Advanced Analytics View is hidden [Screencast from 2024-11-22 08-46-17.webm](https://github.com/user-attachments/assets/e8808a09-3628-4d79-9978-4f7e68cedf28) ### Proposed Solution Either rollback the PR: * https://github.com/apache/superset/pull/28312 Or make the behavior configurable via a FEATURE_FLAG: * HIDE_ADVANCED_ANALYTICS_FOR_NON_TEMPORAL_X_AXIS Thank you for considering this. ### Screenshots/recordings _No response_ ### Superset version master / latest-dev ### Python version 3.11 ### Node version 16 ### Browser Chrome ### 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. -- 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]
