Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

Aggregating Data

Updated on August 4, 2022

For string, number, and date and time criteria fields that belong to a repeating structure (such as a list of purchases), you can select the Occurrences search operator to aggregate the criteria values.

Pega Customer Decision Hub
  1. Select the Occurrences search operator to display input fields for the comparison operator and the comparison value. The following example criteria targets all customers that have more than thirty Interaction History records.
  2. Click Add additional criteria to specify additional criteria for the aggregation. Each additional criterion must be on the same parent entity as the original criteria being aggregated.
  3. After selecting the additional criteria, fields relevant to the criteria type are displayed. Use these fields to configure the additional criteria.

    The additional criteria are combined using AND logic. The following example targets all customers that have had more than five outbound email communications.

    Note: Aggregation using the Occurrences operator is only available for first-level entities, that is, those entities that are directly associated with the customer class and not nested under other associated entities.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us