---
schema_version: "1"
id: 121c66f2e489a9a3a9567399feee0f2a8bcc2957a015185d104516f92e174c59
title: Aggregate and Aggregate Group
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/bre_aggregate_and_aggregate_group.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.bre_aggregate_and_aggregate_group.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ca20105aed69cbdc0418616e8da686e46ac3f6d38829c10980393541365dc5c3
description: "An Aggregate step performs a SUM, AVG, MAX, or MIN function on multiple runs of the preceding steps in an expression set version. Aggregate Groups run the previous steps in the version one time for each set of input values, and then aggregate the results of the steps based on the aggregation logic. Aggregate Groups can have these step elements: Aggregate and Calculation. You can also use Business Elements in an Aggregate Group, if the elements are shipped with your Industries cloud and available in your Salesforce org. Aggregate is always the first step element in an Aggregate Group. Aggregate steps can only be part of Aggregate Groups and can’t be used as standalone elements in an expression set version."
products:
  - Industry Solutions
  - Cross Cloud
release: "264"
---
# Aggregate and Aggregate Group

An Aggregate step performs a SUM, AVG, MAX, or MIN function on multiple runs of the preceding steps in an expression set version. Aggregate Groups run the previous steps in the version one time for each set of input values, and then aggregate the results of the steps based on the aggregation logic. Aggregate Groups can have these step elements: Aggregate and Calculation. You can also use Business Elements in an Aggregate Group, if the elements are shipped with your Industries cloud and available in your Salesforce org. Aggregate is always the first step element in an Aggregate Group. Aggregate steps can only be part of Aggregate Groups and can’t be used as standalone elements in an expression set version.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions for clouds that have Business Rules Engine enabled</td></tr></tbody></table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-business_rules_engine-264-0-0-production-enus/b2d6dd5c-c231-428b-abbf-3dd2cd51a11f/images/icon_note.png)

Note If you use a business element in an aggregation group, then pass the output of the aggregate step in the group as input to the business element.