> For the complete documentation index, see [llms.txt](https://videos.inforiver.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://videos.inforiver.com/reporting-matrix/general/expand-collapse-hierarchy.md).

# Expand/collapse hierarchy

Inforiver provides a number of options to manage hierarchies such as expanding or collapsing row/column hierarchies to specified levels, descendants and more. Currently, in a native Power BI matrix, you cannot expand or collapse columns freely as you can do with rows.&#x20;

With Inforiver, you can expand/collapse specific columns to reveal their children, just as we can do with the row hierarchies in the native Power BI visual.

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

> ## **Related resources**
>
> #### Feature highlights
>
> [Excel-like pivot analysis in Power BI](https://inforiver.com/excel-like-pivot-analysis-powerbi/)
>
> #### User guide
>
> [Manage hierarchies](https://docs.inforiver.com/working-with-inforiver/3.-basic-interactions/manage-hierarchies)
>
> #### Blogs
>
> [Expand/collapse column hierarchy in Power BI](https://inforiver.com/blog/feature-highlights/expand-collapse-column-hierarchy-in-power-bi/)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/expand-collapse-hierarchy.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.
