# Group rows and columns

In this video, learn how Inforiver allows you to create visual hierarchies in rows & columns by selecting multiple items and grouping them. In the case of row grouping, the subtotal values are calculated automatically. Row groups can also be created automatically using classification/segmentation rules.

{% embed url="<https://lumel.wistia.com/medias/9shfmxsk1p>" %}

> ## **Related resources**
>
> #### Feature highlights
>
> [Excel-like pivot analysis in Power BI](https://inforiver.com/excel-like-pivot-analysis-powerbi/)
>
> #### User guide
>
> [Create visual hierarchies](https://docs.inforiver.com/working-with-inforiver/3.-basic-interactions/create-visual-hierarchies)
>
> #### Blogs
>
> [Group rows or columns in table / matrix reports in Power BI](https://inforiver.com/blog/general/group-rows-columns-matrix-powerbi/)


---

# 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://videos.inforiver.com/reporting-matrix/general/group-rows-and-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.
