villebro commented on issue #920: Add a bottom row that aggregates each metric 
column for table viz
URL: 
https://github.com/apache/incubator-superset/pull/920#issuecomment-575369395
 
 
   This is a good idea, but I don't think it can be solved on the client side 
as proposed in this PR, as metrics need to be aggregated on the datasource 
(think mean, weighted average or other custom aggregation which can`t simply be 
summed up). However, by leveraging the new chart API, this could be done fairly 
elegantly by issuing two `queries` in the `QueryContext`; one for the regular 
grouped row-by-row results, and a second one with the same metrics, but without 
grouping, which is displayed at the bottom. Could be an interesting POC.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to