Skip to main content

 –

Aggregating Data

Suggest edit Updated on January 19, 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.
Did you find this content helpful? YesNo

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us