
An aggregate is a summarized data about a selected event from a specified time range. You can determine the desired output – whether it is the latest or first value for a particular event parameter, median, average, sum, minimum, maximum, and more.

In Synerise, you can create the following aggregate types:
- [**Profile**](/docs/analytics/aggregates/creating-profile-aggregates) - Profile aggregates include customer-context, allowing for displaying the result for individual customer. Within the aggregate preview, you can select a customer identifier to view the results tailored for that specific customer.
- [**Event**](/docs/analytics/aggregates/creating-event-aggregates) - Event aggregates let you analyze an occurrence of an event and occurrences before it. These aggregates act like custom event parameters which can be used in filters (as a [property or value](/docs/analytics/i_events-parameter-value#synerise-objects)). Event aggregates can be applied to filters with different events than the event in the aggregate, which can help you create complex analyses. 

Aggregates serve more than just analytical purposes; they are essential components within larger use cases and complement other Synerise features, such as Predictions and AI recommendations. The table below showcases what you can do with aggregates:



| Purpose                           | Practical examples                                                                                                                                                                                                                                                                              | Aggregate type |
|-----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------|
| Simple analysis                   | - [Discover a customer's preferred channel](/use-cases/channel-preference) <br> - Discover a customer's preferred category <br> - [Calculate duration of the latest session](/use-cases/calculate-time-spent-on-website)                                                                                                                                                                         | Profile        |
| Complex analysis                  | - [RFM analysis](/use-cases/rfm-analysis) <br> - [Dashboard for a call center that contains transaction statistics](/use-cases/customer-dashboard-call-center#create-aggregates) (for example, name of the product purchased the most recently, transaction value, number of transactions, and so on)                                                                       | Profile        |
| Providing context for AI features | - [Recommendation of similar products filtered by favorite category of a customer](/use-cases/dynamic-content-item-context-recommendation) (the favorite category is provided by the aggregate result) <br> - [Recommendation boosted by the results of AI prediction for best brand for a customer](/use-cases/bestfit-brand) (results of the prediction are retrieved from an aggregate) | Profile        |
| Creating custom event parameters  |  - Gather a group of customers whose average transaction value exceeds $500 after second visit in the store <br> - Calculate recommendation revenue after the first click within 24 hours                                                                                                                                                                                                                                                                                               | Event          |






