# Summarize (Aggregate)

## How to Access This Feature

### From + (plus) Button

![](/files/-M4oN8pdd1EtrOwAzYev)

* Click "+" button and select "Summarize (Aggregate)".

### From Column Menu

![](/files/-M4oN8pfpjCiqRg8P7ar)

* You can also select "Summarize (Aggregate)" from column menu of the column to aggregate, and then select its submenu to choose the type of aggregation.

## Summarize by Selecting Aggregate Function from UI

![](/files/-M4oN8phW-_ZFRSkBGhJ)

1. (Optional) Select column(s) for "Group By".
2. Select Value column(s) to to aggregate its values.
3. Select aggregate function to apply to each column.
4. Click "Run" to run the aggregation and create the new column.

## Summarize by Custom R Expression

![](/files/-M4oN8pkzJskRY-odTOD)

1. Select "(Custom)" from a Column List of Values.
2. On the Custom Dialog, type in the R Expression for the aggregation in "Expression" field.
3. Type in the name of new column with aggregation result in "New Column Name" field.
4. Click "OK" on the Custom Dialog and check the preview result.
5. Click "Run" to run the aggregation and create the new column.


---

# 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.exploratory.io/data-wrangling/summarize.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.
