> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usedatabrain.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Group By

> This guide offers a straightforward method for organizing data by using the "Group By" feature, enhancing data analysis efficiency.

### 1. **Access Group By**

Click the "+" icon at the top of the metric and select the **"Group By"** button.

<Frame>
  <img src="https://mintcdn.com/databrainlabs-bef6850a/3OVuv1yincv0D6pa/images/guides/access-group-by.png?fit=max&auto=format&n=3OVuv1yincv0D6pa&q=85&s=78086d20d834083a4ce12004ab1be5bc" alt="Accessing the Group By option from the metric menu" width="2940" height="1658" data-path="images/guides/access-group-by.png" />
</Frame>

### 2. **Group By a single column**

Choose the column you want to group in the **“Series Column”** field.

<Frame>
  <img src="https://mintcdn.com/databrainlabs-bef6850a/MbLmlD85jcjEoVGY/images/guides/group-by-1-col.png?fit=max&auto=format&n=MbLmlD85jcjEoVGY&q=85&s=faf9bb2351cfb1a49088dc99621055c5" alt="Selecting a single column in the Series Column field for Group By" width="2940" height="1654" data-path="images/guides/group-by-1-col.png" />
</Frame>

### 3. **Group By multiple columns**

* Enable the toggle of **"Dynamic Options"** to group by multiple columns.
* If necessary, enable the **"Enable the Clear Option"** toggle.
* Select the columns you want to group from the **"Series Column"** drop-down.

<Frame>
  <img src="https://mintcdn.com/databrainlabs-bef6850a/MbLmlD85jcjEoVGY/images/guides/group-by-multiple.gif?s=681d2df6fa7d57478bfa00266ec02615" alt="Grouping by multiple columns using dynamic options" width="1629" height="920" data-path="images/guides/group-by-multiple.gif" />
</Frame>

### 4. **Apply Filters**

Use filters to view the dynamic changes in your grouped data.

<Frame>
  <img src="https://mintcdn.com/databrainlabs-bef6850a/MbLmlD85jcjEoVGY/images/guides/group-by-result.gif?s=9cf2bad9c0a0632945e3fe08b2689652" alt="Viewing grouped data results after applying filters" width="1634" height="917" data-path="images/guides/group-by-result.gif" />
</Frame>

<Check>
  You’ve successfully applied Group By to your metric!\
  Your visualization now organizes data by the selected columns, enabling clearer comparisons and deeper segmented analysis.
</Check>
