# Selection Aggregates

The Grid enables you to select cells and calculate metrics based on the selected values.

Use the built-in `StatusBar` to display the calculated metrics at the bottom of the Grid, or render the calculated data in custom elements.

The Grid supports the following built-in aggregation for all selected cells:

* `max`—the greatest number. Valid for numeric fields.
* `min`—the smallest number. Valid for numeric fields.
* `sum`—the sum of all numbers. Valid for numeric fields.
* `average`—the average of all numbers. Valid for numeric fields.
* `count`—the total number of cells.
* `earliest`—the earliest date. Valid for `Date` fields.
* `latest`—the latest date. Valid for `Date` fields.
* `isTrue`—the total number of boolean fields with `true` value.
* `isFalse`—the total number of boolean fields with `false` value.

To display selection aggregates, enable multiple-cell selection with the [`selectable`](https://www.telerik.com/kendo-vue-ui-develop/components/grid/api/gridprops#selectable) prop and handle the [`selectionchange`](https://www.telerik.com/kendo-vue-ui-develop/components/grid/api/gridprops#onselectionchange) event. Use [`getStatusData`](https://www.telerik.com/kendo-vue-ui-develop/components/grid/api/getstatusdata) to calculate the data that the `StatusBar` component renders.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/grid/selection/aggregates/source.txt)

## Suggested Links

* [Grid API Reference](https://www.telerik.com/kendo-vue-ui-develop/components/grid/api/gridprops)
* [Grid API Index](https://www.telerik.com/kendo-vue-ui-develop/components/grid/api)
