john-bodley opened a new issue #12611: URL: https://github.com/apache/superset/issues/12611
It seems like metrics in explorer and keyed by name, however for charts which support multiple metrics, Superset cannot differentiate between selected saved metrics. This means if you add the same metric multiple times and change one of the metrics all references to said metric change. ### Expected results Either: 1. The same metric should not be able to be added multiple times (ensuring uniqueness). 2. Each selected metric should have a unique ID allow ### Actual results what actually happens. #### Screenshots If applicable, add screenshots to help explain your problem. #### How to reproduce the bug 1. Go to Explorer. 2. Choose a chart type which supports multiple metrics. 2. Add a saved metric. 3. Re-add the same saved metric. 4. Change one of the saved metrics. 5. Notice that both metrics changed. ### Environment (please complete the following information): - superset version: `superset version` - python version: `python --version` - node.js version: `node -v` ### 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 Add any other context about the problem here. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
