> For the complete documentation index, see [llms.txt](https://docs.phocassoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.phocassoftware.com/financial-statements/using-statements/view-financial-information-in-a-matrix-column-groups.md).

# View financial information in a matrix

By default, the Financial Statements grid displays your financial information by period, as in a standard Profit and Loss statement. This allows you to compare overall performance across periods.

To analyze performance at a lower level, such as by country, product, or customer (other dimensions), switch to a matrix format using the **Columns** feature. This lets you break the data down and compare items side by side.

{% embed url="<https://phocassoftware.wistia.com/medias/c3ll8xbom2>" %}
View financial information in a matrix
{% endembed %}

## Understand the matrix format <a href="#learnaboutthematrixformat" id="learnaboutthematrixformat"></a>

The **matrix** format is an alternative way to view your financial information; it transforms the columns in the statement grid.

When you [add levels](https://docs.phocassoftware.com/financial-statements/using-statements/manage-statement-levels.md), you introduce additional rows to show how different items contribute to overall performance. The **Columns** feature adds this comparison across columns, allowing you to view different items side by side.

<figure><img src="https://3180484653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKhoFIsurMPEjkuBz9YkN%2Fuploads%2Fgw7v4yETjykHDd4j7Q6J%2Ffs-matrix-template-purple.jpg?alt=media" alt="Comparison of Country displayed across columns in a matrix and as expanded rows in statement levels, with purple outlines highlighting each"><figcaption><p>The difference between adding Columns and levels to the grid</p></figcaption></figure>

Use **Columns** to compare performance horizontally and identify differences more easily.

This format also works well with charts. You can switch between different dimensions or entities, and the chart updates accordingly.

## Change the columns <a href="#changethecolumngroups" id="changethecolumngroups"></a>

1. Drag a dimension from the dimension panel into the **Columns** area above the grid. The blue outline highlights where you can drop it.
2. In the list that opens, select the entities you want to compare, or click **Select all**. Use **Filter by keyword** to find entities in a long list.
3. Click outside the list to apply your selection.

The grid displays the selected entities side by side, with your financial columns repeated for each entity. You might need to scroll horizontally to view them all.

<figure><img src="https://3180484653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKhoFIsurMPEjkuBz9YkN%2Fuploads%2Fyl9Y4UzH7APvMdyeizAS%2FMatrix.gif?alt=media&amp;token=eda9e3c8-6014-4b06-81c4-5ef5db1ae5c8" alt=""><figcaption></figcaption></figure>

Alternatively, when viewing a dimension's items in the grid, select the items you want to compare, then click **Matrix** in the **Columns** area.

<div align="left"><figure><img src="https://3180484653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKhoFIsurMPEjkuBz9YkN%2Fuploads%2FuBNJeujjyHE6mtCBsyZr%2Fimage.png?alt=media&amp;token=cc23eab5-753a-4c0a-91d9-7c88d10ffb85" alt="" width="563"><figcaption></figcaption></figure></div>

If you add a dimension with a large number of entities, only the first 25 entities display in the grid. This helps maintain performance and avoid errors. You can include more using the [dimension entity filter](#filter-the-dimension-entities).

## Work with columns in the grid

After adding a dimension to the **Columns** area, you can reduce the data to focus on key information.

#### Hide the code or name in the column headers

Choose how the dimension entities are labeled in the column headers. Shorter headers are useful when names are long and wrap onto multiple lines.

1. Click the dimension in the **Columns** area above the grid.
2. Under **Column headers**, select the header option you want.
3. Click outside the menu to apply the change.

#### Filter the dimension entities <a href="#filter-the-dimension-entities" id="filter-the-dimension-entities"></a>

1. Click the dimension in the **Columns** area above the grid.
2. Select the entities you want to include, or click **Select all**. Use **Filter by keyword** to find entities in a long list.
3. Click outside the menu to apply the change. The grid displays columns for your selected entities.

For example, with the **Country** dimension, you can view one country, compare a selection of countries, or compare all countries.

<div align="left"><figure><img src="https://3180484653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKhoFIsurMPEjkuBz9YkN%2Fuploads%2FxJmeXwlzD2ADrvyTuMbk%2Fmatrix-entities.png?alt=media" alt="Country entity list with Filter by keyword, Select all, and Column headers options" width="262"><figcaption></figcaption></figure></div>

#### Remove other columns

[Remove other columns from the grid](https://docs.phocassoftware.com/financial-statements/using-statements/customize-your-view-financial-statements/change-the-columns.md) as required.

The **Columns** menu in the top toolbar has **Periods** options (**Latest**, **All** and **Sparklines**). These options are unavailable when a dimension is applied in the **Columns** area above the grid.

## View matrixed data in a chart <a href="#viewmatrixeddatainachart" id="viewmatrixeddatainachart"></a>

After adding a dimension to the **Columns** area, click the **Chart** button in the top right toolbar above the grid. **Chart Builder** opens, displaying data for the selected dimension rather than the time period. See [View financial information in a chart](https://docs.phocassoftware.com/financial-statements/using-statements/view-financial-information-in-a-chart.md) for more information.

## Revert to the default view <a href="#reverttothedefaultview" id="reverttothedefaultview"></a>

To return to the default grid format with period columns, either:

* In the **Columns** area, click the **X** on the dimension.
* In the dimension panel, click the **X** next to the dimension.

The grid resets to display the default period columns.

To completely reset the data, click the **Reset** button.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.phocassoftware.com/financial-statements/using-statements/view-financial-information-in-a-matrix-column-groups.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
