Page History
In many situations, end users are interested in statistics about aggregates.
For instance, regarding all person-aggregates, how many men and how many women are currently present?
To make this possible, the container AQ_Statistic_Aggregate is available. The AQ_Statistic_Aggregate container will provide statistics about aggregates and always result in a positive integer (0, 1 ,2 etc).
Multiple containers of this type can be used together in the Container type: AQ_Statistic_Visualization.
Configuration screenshot
Parameters
Parameter | Direction | Value | Description | Required | |
---|---|---|---|---|---|
Aggregate type | Input | Module element Aggregate | Select the aggregate type to create a statistic for. | Yes | |
Search criterium line | Input | Line | Create lines for each condition. | Yes | |
SearchCriteria | Input | Standard metadata or Custom metadata | Choose between the two types of metadata fields. | Yes | |
Metadata | Input | Standard or Custom metadata field | The field that is part of the search criterium. | Yes | |
Operator | Input | See table below | The operator that connects the field and the value. | Yes | |
Value | Input | Expression | The expression used in the search criterium. | Yes |
Search criteria
The search criteria are all triples that adhere to the pattern <MetadataField><Operator><Value>. The value can be single or multi, depending on the operator. See the list below.
Operator | Used with metadata of type | Value can be |
---|---|---|
Equals | All single-valued datatypes | Single value |
Not equals | All single-valued datatypes | Single value |
Less than | All single-valued datatypes | Single value |
Less than or equals | All single-valued datatypes | Single value |
Greater than | All single-valued datatypes | Single value |
Greater than or equals | All single-valued datatypes | Single value |
Like | String | Single value |
Not like | String | Single value |
In | All multivalued datatypes | Multivalued |
Not in | All multivalued datatypes | Multivalued |
When these containers are placed within Container type: AQ_Statistic_Visualization, the result in runtime looks like this in the Runtime: