Skip to main content

system.kanoa.item.addMeasureAggregation(measureAggregationInfo, userId)

Adds a measure aggregation. All measureAggregationInfo keys are required.


Parameters

measureAggregationInfo Dictionary

- aggregationNameStringInternal code e.g. 'AVG'
- displayNameStringDisplay label e.g. 'Average'
- enabledBoolean

userId Integer:Id of the user executing the function


Returns

measureAggregationId Integer
message String None if success


Example