gcofini opened a new issue, #34425:
URL: https://github.com/apache/superset/issues/34425

   ### Bug description
   
   **Bug description**
   Problem 1: The percentage calculation in tables that use pagination is not 
based on the total number of rows, but only on the rows displayed on that page. 
This means that the percentage calculation is always incorrect.
   
   Problem 2: Still related to the percentage calculation issue, Superset 
appears to be unable to correctly group the fields on which to calculate. If I 
use a graph to explain the information, I get a tooltip that's consistent with 
the expected results. If I report the data in tabular form, I get an incorrect 
calculation. 
   
   Chart and tooltip:
   
![Image](https://github.com/user-attachments/assets/bfd42176-1419-4bce-be18-857a2b177489)
   
   Result:
   
![Image](https://github.com/user-attachments/assets/a41d3c92-74c7-4166-bbc4-59a7cc228c0b)
   
   Table definition:
   
![Image](https://github.com/user-attachments/assets/4fa35984-0544-41f9-8760-40d2afb5b163)
   
   
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   4.1.3
   
   ### Python version
   
   I don't know
   
   ### Node version
   
   I don't know
   
   ### 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]

Reply via email to