Managing Key Indicator Value Computation Logics
You can define computation logics applicable to key indicator values.
Creating a computation logic
To create your own computation logic:
1. In the navigation bar, select Administration > Indicators > Value Computation Logics.
2. Click New.
3. In the properties of the created logic, specify:
• a Macro
• (Optional) Computation Parameters
Key Indicator Value Computation Logics provided as default
Computation logic via query
The "computation logic via query" logic counts the number of objects returned by the query.
This logic accepts two parameters:
• “Query” (mandatory)
• “ObjectParameter” (optional): if a query requires an object as a parameter, you may specify it via this parameter.
Percentage computation via query
The "percentage computation via query" logic counts the number of objects returned by queries and computes a percentage:
"NumeratorQuery" / "DenominatorQuery" * 100%
This computation logic accepts 3 parameters:
• "NumeratorQuery" (mandatory)
• "DenominatorQuery" (optional)
• "ObjectParameter" (optional)
|
Condition
|
Result or Action
|
|
If "DenominatorQuery" not specified
|
Denominator = total number of objects of the same type as the numerator
|
|
If "NumeratorQuery" requires an object as a parameter
|
Specify the parameter via "ObjectParameter"
|
|
If DenominatorQuery" requires an object as a parameter
|
Specify the same parameter as for "NumeratorQuery"
|
"RoundPrecision" defines the precision of the rounded value (number of digits after the decimal point).
If the denominator is 0, the computed value will be 0.