junlincc opened a new issue #14061:
URL: https://github.com/apache/superset/issues/14061


   **Is your feature request related to a problem? Please describe.**
   A clear and concise description of what the problem is. Ex. I'm always 
frustrated when [...]
   
   We recently added SUM/total control along with other enhancement to table 
chart, 
   however, not all aggregations can be or should be summed, like average, max 
and min. 
   In the second screenshot below, when the SHOW TOTALS check box is enabla the 
Totals row shows an average of the first column for AVG, max of the second 
column for COUNT, and the max of the third column for MAX. which are all very 
confusing. 
   
   <img width="1417" alt="Screen Shot 2021-04-09 at 1 15 47 PM" 
src="https://user-images.githubusercontent.com/67837651/114235991-d1f8ec00-9935-11eb-8381-6047412159d3.png";>
   <img width="1414" alt="Screen Shot 2021-04-09 at 1 24 38 PM" 
src="https://user-images.githubusercontent.com/67837651/114236871-1d5fca00-9937-11eb-934d-b742fa75900f.png";>
   
   **Describe the solution you'd like**
   This was a known issue when we implement the enhancement, but there's no 
clear solution how we should approach it. 
   we could either 
   - add tooltip to the SHOW TOTALS checkbox to clarify some "Totals" would not 
make sense and allow users to use their best judgement. 
   - make check box dynamic, only shows up on applicable aggregation/metrics.
   - allow user to show total only for selected metics. 
   
   **Community, please try this new feature out and let us know how you would 
like us to improve the table chart.** 
   
   _appreciation to engineers who contributed to this enhanced, robust table 
viz. @villebro @ktmud @kgabryje_ 
   


-- 
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]

Reply via email to