The aggregation functionality of the Data API allows you to perform calculations on your collection data, as whole or on groups of items that you define, to retrieve meaningful summaries. You can also add filtering and sorting to your aggregations to retrieve exactly what you need.
The examples below use a sample collection, named PopulationData, with the following data:
For more information, see Working with Aggregations and Groupings in the Data API.
Note: Aggregations can only be used on collections you have created. They cannot be used on Wix App Collections.