zhaoyongjie opened a new issue, #20881: URL: https://github.com/apache/superset/issues/20881
The grand total in Table viz is incorrect, seems that the query of the total is not applied to the metric filters. #### How to reproduce the bug 1. Go to 'explore page' 2. Select `birth_names` as data source and `table` as viz 3. `1990 : 2001` as time range 4. `name` as dimension 5. `count(*)` as metrics 6. Click `having` and `count(*) > 100` as filter 7. Check the `show total` ### Expected results correct grand total ### Actual results incorrect grand total #### Screenshots  ### Environment (please complete the following information): latest master commit ### 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. -- 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]
