You are viewing the documentation for Blueriq 14. 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. 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.


Studio configuration screenshot


Parameters

Parameter
Direction
Value
Description
Required
Aggregate typeInputModule element AggregateSelect the aggregate type to create a statistic for.True
Search criterium lineInputLineCreate lines for each condition.At least one line

SearchCriteriaInputStandard metadata or Custom metadataChoose between the two types of metadata fields.True

MetadataInputStandard or Custom metadata fieldThe field that is part of the search criterium.True

OperatorInputSee table belowThe operator that connects the field and the value.True

ValueInputExpressionThe 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
EqualsAll single-valued datatypesSingle value
Not equalsAll single-valued datatypesSingle value
Less thanAll single-valued datatypesSingle value
Less than or equalsAll single-valued datatypesSingle value
Greater thanAll single-valued datatypesSingle value
Greater than or equalsAll single-valued datatypesSingle value
LikeStringSingle value
Not likeStringSingle value
InAll multivalued datatypesMultivalued
Not inAll multivalued datatypesMultivalued


Example

The statistic in the example screen above is combined with the two statistics below.


When these containers are placed within Container type: AQ_Statistic_Visualization, the result in runtime looks like this: