# Group by columns

### Description

With this transformation, you can group rows together based on a set of columns and aggregate the values of other columns.

### Parameters

* group\_by\_columns
* aggregated\_columns
  * Options: count, max, min, sum, avg

{% hint style="info" %}
Syntax for `aggregated_columns` is `COLUMN_NAME` + "KUWALA\_AGG" + `COLUMN_AGG`.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kuwala.io/transformation-catalog/general/group-by-columns.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
