# system.kanoa.measures.addMeasureAggregation(measureAggregationInfo, userId)

Adds a measure aggregation. All measureAggregationInfo keys are required.

---
### Parameters
**measureAggregationInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - aggregationName</td><td>String</td><td>Internal code e.g. 'AVG'</td></tr>	
 	<tr><td> - displayName</td><td>String</td><td>Display label e.g. 'Average'</td></tr>	
 	<tr><td> - enabled</td><td>Boolean</td><td></td></tr>	
	</tbody>
</table>

**userId** `Integer`:Id of the user executing the function<br />

---
### Returns
**measureAggregationId** `Integer`<br />
**message** `String` None if success<br />

---
### Example
```python
```
