# Overview of dimensions

Before you start using Financial Statements, it helps to understand how dimensions work.

Dimensions in the underlying financial database control how accounts are grouped, mapped, and displayed in your statements.

Read the [Dimensions](/basics/getting-started/dimensions.md) page for general information about dimensions, a core concept in Phocas. The following information builds on that foundation, applying it to the Financial Statements module.

{% hint style="success" %}
**Quick definitions**

* **Dimension**: A field you can use to group and filter financial data (for example, Account, Branch, Category).
* **Dimension entity**: An item within a dimension (for example, an account code or a category name).
* **Dimension group**: A set of related dimensions. Each group contains a primary dimension and one or more sub-dimensions.
* **Account mapping dimension**: The dimension that defines the statement structure. Also referred to as the *statement dimension*.
* **Custom dimension**: A new account mapping dimension created by Financial Statements for a specific statement.
  {% endhint %}

## Dimensions

In Financial Statements, dimensions still act as categories you use to group and analyze data. Here, they also link directly to how accounts are grouped in the statement.

The dimensions panel on the left of the statement grid shows the dimensions available in the underlying financial database. Some statements have additional dimensions that are not directly relevant to the current view. These are hidden by default to reduce clutter but remain available for analysis.

Click **Show more** to see all dimensions, and click **Show less** to hide them again. You can also click **Hide dimensions** at the bottom of the panel to see more of the statement grid.

<div align="left"><figure><img src="/files/qhRQhgJG1tF93uxBbjkS" alt="" width="357"><figcaption><p>The dimension panel in Financial Statements</p></figcaption></figure></div>

{% hint style="success" %}
See the Take a tour of Financial Statements > [Financial Statements module](/financial-statements/getting-started/take-a-tour-of-financial-statements.md#financial-statements-module) page for an overview of the actions you can take with dimensions.
{% endhint %}

## Dimension groups

In Financial Statements:

* You always have an account dimension group, in which Account is the primary dimension. This is the dimension to which the transactions are mapped.
* The first sub-dimension in the account dimension group is the [account mapping dimension](#top-level-statement-dimension) that defines the structure of the statement. This is usually the [default dimension](#id-2.-default-dimension) (such as Category or Classification), or it can be a [custom dimension](#id-1.-statement-created-custom-dimension), depending on the statement setup.
* Depending on your database setup, you might have other dimension groups. For example, if Branch is a primary dimension, its sub-dimensions might include Region, Country, Company, and Branch Manager. These are usually managed by your Phocas administrator in the underlying database in [Designer](/administration/designer/modify-a-database.md#group-dimensions).
* If you have permission to manage custom statements, you can also [manage the groups (sub-dimensions)](/financial-statements/managing-statements/manage-dimension-groups.md) for use in Financial Statements. This includes adding new ways of grouping the entities in a dimension. Each group is a sub-dimension in the main dimension group, giving you more ways to analyze your financial data.

<div align="left"><figure><img src="/files/mCBs5rvVKaD30iuaHt8z" alt="" width="503"><figcaption><p>Examples of dimension groups in the dimension panel</p></figcaption></figure></div>

## Account mapping dimension

The account mapping dimension is unique to Financial Statements. It is also called the *statement dimension*. In a previous version of Financial Statements, it was called the *top-level dimension*.

This dimension sits under **Account** and defines the statement structure. It determines which group each account belongs to.

### Where you see it

You can identify the account mapping dimension in two places:

* In **Manage statements**, below the statement name in the statement editing area.
* In the statement view, as the first sub-dimension under **Account** in the dimension panel and the top-level dimension in the statement.

<figure><img src="/files/UjByAgHpV3jl8dkQ2kal" alt=""><figcaption><p>Account mapping dimension in Manage statements screen</p></figcaption></figure>

<div align="left"><figure><img src="/files/jCED38Z48Yi7sc9asD6R" alt="" width="326"><figcaption><p>Account mapping dimension in statement view</p></figcaption></figure></div>

### Where it comes from

You choose the account mapping dimension when you [add the financial statement](/financial-statements/managing-statements/create-a-financial-statement.md). You can:

* Create a **new mapping dimension** (custom)
* Select an **existing mapping dimension** from the list, such as the default Category or Classification dimension (recommended)

Choosing an existing dimension saves setup time and reuses an existing mapping. Creating a new dimension gives the statement its own mapping.

<div align="left"><figure><img src="/files/5FCdbdcjEvrDBNCVSAlA" alt="" width="259"><figcaption><p>Account mapping options when adding a new statement</p></figcaption></figure></div>

There are four types of dimensions you can use as the account mapping dimension:

<table><thead><tr><th width="171">Dimension type</th><th width="272">Where you manage the account mapping</th><th width="185">Used across multiple statements?</th><th>In database design?</th></tr></thead><tbody><tr><td>Statement-created (new, custom)</td><td>Manage statements > Map accounts</td><td>No</td><td>No</td></tr><tr><td>Default</td><td>Manage statements or Designer</td><td>Yes</td><td>Yes</td></tr><tr><td>Groups-created</td><td>Groups feature</td><td>Yes</td><td>Yes</td></tr><tr><td>Original or Designer-created</td><td>Designer</td><td>Yes</td><td>Yes</td></tr></tbody></table>

#### 1. Statement-created (custom) dimension

If you choose to **create a new mapping**, Phocas creates a custom dimension for that statement only.

* By default, it takes the same name as the statement, but you can edit its name later.
* It exists in the database but stays hidden in Designer.
* You manage its account mapping in **Manage statements** > **Map accounts**.

<figure><img src="/files/kPNsWP2vohhqw112Rz4A" alt=""><figcaption><p>Creating a new account mapping (dimension)</p></figcaption></figure>

#### 2. Default dimension

These default dimensions appear in the **existing mapping** list when you add a statement:

* **Category** for Profit and Loss and Balance Sheet statements.
* **Classification** for Cash Flow statements.

There is no default dimension for Trial Balance statements.

This dimension already exists in the financial database; it's visible in Designer.

<div align="left"><figure><img src="/files/MbY5epqCEwKc0oGCfDNi" alt="" width="251"><figcaption><p>Default dimension in Designer</p></figcaption></figure></div>

You manage its account mapping in **Manage statements** > **Map accounts** (recommended) or Designer. Any changes affect every statement that uses that dimension.

#### 3. Groups-created dimension

This dimension was created using the [Groups feature](/financial-statements/managing-statements/manage-dimension-groups.md). It appears in the **existing mapping** list when you add a statement.

It's visible in Designer, but you manage its account mapping in Groups. Any changes affect every statement that uses that dimension.

<figure><img src="/files/3lsbRFdRqLwJrefIvYvr" alt=""><figcaption><p>Groups-created dimension</p></figcaption></figure>

#### 4. Original or Designer-created dimension

This dimension either comes from your ERP during database setup or was created later in Designer. It appears in the **existing mapping** list when you add a statement.

You manage its account mapping in Designer. Any changes affect every statement that uses that dimension.

<div align="left"><img src="/files/ziOKOnfccGZMfjl48kyW" alt="Designer-created dimension" width="482"></div>

### Which dimension to use

Not sure which type of dimension to use when adding a new statement? Answering the following questions will help you make the best choice.

**Do you want to map your accounts using the categorization from your ERP?**

**Yes** → [Use a Designer-created dimension](#id-4.-original-or-designer-created-dimension)

1. Stop what you are doing and go to Designer in the Administration module.
2. Create a custom dimension under Account, then save and build the database.
3. Return to adding the statement and select that new dimension from the list.

**No** → [Create a new dimension](#id-1.-statement-created-custom-dimension) and map the accounts yourself.

**Do you have a long list of accounts?**

**Yes** → [Use a Groups-created dimension](#id-3.-groups-created-dimension)

1. Stop what you are doing and go to the Groups feature in Financial Statements.
2. Create account categorizations (new groups or sub-dimensions), then save your changes and rebuild the database.
3. Return to adding the statement and select that new dimension from the list.

**No** → [Use the applicable default dimension](#id-2.-default-dimension).

## Dimension entities

In Financial Statements, the dimension entities include accounts in the Account dimension and categories or classifications in the account mapping dimension.

When you click a dimension, you move into the Analytics module to view its entities in the grid. From here, you can analyze the data.

{% hint style="success" %}
Clicking a dimension switches you from the statement to an Analytics grid view.

To return to the statement, click the **Financial Statements Summary** button above the dimension list.
{% endhint %}

<figure><img src="/files/3lwBTxMOvQas7REtebey" alt=""><figcaption><p>Viewing dimension entities in the Analytics module</p></figcaption></figure>


---

# 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.phocassoftware.com/financial-statements/getting-started/overview-of-the-link-between-financial-statements-and-dimensions.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.
