# AgMaximum

Aggregates loop iterations and returns the maximum value for the specified element.

This function requires a loop expression. For more information, see [Loop expressions](https://help.qlik.com/talend/r/en-US/8.0/data-mapper-user-guide/loop-expressions).

## Related examples

* [Applying functions to collections of elements](https://help.qlik.com/talend/en-US/data-mapper-functions-reference-guide/8.0/applying-functions-to-collections-of-elements)

## Arguments

| Arguments | Definitions |
| --- | --- |
| Variable arguments | Add the map element to aggregate as arguments. |