# ArgMax

The ArgMax step allows you to get row(s) matching the maximum value in a given column. You can optionally specify to apply the step by group, i.e. get max row(s) by group.

### Step parameters

* `Search max value in`**\* (string)**: the column the maximum value will be searched in
* `Group by` **(array)**: array of one or several columns that will be used to constitute unique groups. Then the step will return max row(s) for every group)

### Example

**Input**

<figure><img src="https://1809014303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxYYf1KpgarKMgMsDCrw%2Fuploads%2Fgit-blob-a411b421ef572c0e50e6f59f0fb69a9fa74e99b6%2Ffilter_input.png?alt=media" alt=""><figcaption><p>Filter - Argmax input</p></figcaption></figure>

**Configuration**

```json
{
    "column": "age"
    "group_by": []
}
```

**Output**

<figure><img src="https://1809014303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxYYf1KpgarKMgMsDCrw%2Fuploads%2Fgit-blob-3a4ef02b1a2ca73b36a7f22f455e0049a8dbda0d%2Fmaxarg.png?alt=media" alt=""><figcaption><p>Filter - Argmax output</p></figcaption></figure>
