You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.
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. This container will always result in a positive integer (0, 1 ,2 etc).
Multiple containers of this type can then be , that can be used together with the container AQ_Statistics_Visualization [9.6]
Screen
Parameters
Parameter | Direction | Value | Description | Required | |
---|---|---|---|---|---|
Aggregate type | Input | Module element Aggregate | Select the aggregate type to create a statistic for. | True | |
Search criterium line | Input | Line | Create lines for each condition. | At least one line | |
SearchCriteria | Input | Standard metadata or Custom metadata | Choose between the two types of metadata fields. | True | |
Metadata | Input | Standard or Custom metadata field | The field that is part of the search criterium. | True | |
Operator | Input | See table below | The operator that connects the field and the value. | True | |
Value | Input | Expression | The expression used in the search criterium. | True |
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 |
Example
The statistic in the example screen above is combined with the two statistics below.
When these containers are placed within a container of type AQ_Statistics_Visualization [9.6], the result in runtime looks like this:
SCREENPRINT invoegen |
---|