Introduction

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:

Copy

Learn more about working with aggregations and groupings in the Wix Data API.

Note: Aggregations can only be used on collections you have created. They cannot be used on Wix app collections.

Did this help?