dvsingh-kearney opened a new issue, #33284: URL: https://github.com/apache/superset/issues/33284
### Bug description **Recreation Steps** 1. Create a stacked Bar Chart with two or more dimensions 2. Add Legends to the chart 3. Show Totals on the bar 4. Use the legend to exclude one of the dimensions **Expected Result** The total on top of each bar adjusts to show the total based on the specific selection, along with the adjustment of the Y Axis. For example in the screenshots below the second picture should not be showing 156, 279, 374 & 81 in the last 4 bars **Actual Result** Instead even upon excluding one of the dimensions even though the Y axis correctly updates. The total still show the values as if all dimensions were selected. And does not include any totals when the dimension that is on the top is removed ### Screenshots/recordings <img width="719" alt="Image" src="https://github.com/user-attachments/assets/0cf7a7f3-bd8b-4bd8-a078-8b1f4a21d48b" /> <img width="719" alt="Image" src="https://github.com/user-attachments/assets/7ba74e47-a70a-476b-a802-369a793b0b33" /> <img width="719" alt="Image" src="https://github.com/user-attachments/assets/2665d5d3-4640-43ce-8a9b-848a25692e06" /> ### Superset version master / latest-dev ### Python version 3.9 ### 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]
