bsovran opened a new issue, #43021: URL: https://github.com/apache/superset/issues/43021
**Is your feature request related to a problem?** The "Show summary" checkbox (the `show_totals` control in the Table chart's Customize tab) only computes the **sum** of each metric column. For metrics where a sum isn't a meaningful summary (e.g. rates, scores, durations, or counts sampled per row), a sum can be misleading or just not what the viewer wants. **Describe the solution you'd like** Let "Show summary" support alternative aggregations — at minimum **average** and **median** — instead of being hardcoded to sum. This could be a dropdown next to (or replacing) the current checkbox, e.g. "Show summary: [None / Sum / Average / Median]". **Describe alternatives you've considered** Workaround today is to add a second metric with an AVG/MEDIAN SQL aggregation and hide/label it manually, which is clunky and doesn't work well with `Aggregate` query mode metrics that are already pre-aggregated. **Additional context** Affects `plugin-chart-table`, `plugin-chart-ag-grid-table`, and any chart using the shared `showTotalsControlSetItem` (e.g. `plugin-chart-handlebars`). -- 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]
