When adding or editing a rule, you can use the following advanced options:
- Filter By
- Group By
- Aggregate By
Note the following guidelines:
- You must enable the option before you can open the Expression Builder or enter values in the text field.
- If you disable the option after you enter a sub-expression, your work will not be saved. Enable the option again to edit and/or save your work.
- These options are available when the rule you are adding or editing is associated with a profiled (fully loaded) data source. Dynamic data sources do not support the use of the Filter By, Group By, and Aggregate By options.
Filter By Option
The Filter By option allows you to "select" which rows are to be considered by the rule expression based on a given condition. Here is an example of a filter by expression:
Account-Close-date => Account-Opened-date with "Filter By"
Is_Empty(Close-Date) = 1
This rule will ensure that the Close-date must be greater than or equal to the Account-Opened-date. If the Close-date is not populated, account is still open.
To configure the Filter By option
Group By Option
The Group By option groups the results of a business rule expression into categories based on parameters you define. The Group By expression is typically an attribute or a combination of attributes.
To configure the Group By option
Aggregate By Option
The Aggregate By option totals numeric values for business rule passing and failing results. You aggregate results using one of five mathematical operators: sum, average, maximum, minimum, and count.
When used with the Filter By or Group By options, aggregation is performed on the filtered or grouped rows. Aggregated group results show the aggregate value results for passing and failing rows for each group.
To configure the Aggregate By option