# Add an account group

{% hint style="info" %}
User permission: Manage Custom Statements
{% endhint %}

{% hint style="warning" %}
If you use the Budgets & Forecasts module, take care when making any changes in Financial Statements, as you risk losing budget values. See the [Relationship with the Financial Statements module](/budgets-and-forecasts/getting-started/overview-of-key-terms-and-concepts/relationship-with-the-financial-statements-module.md) page to learn about the impacts of making changes to statements. It's a good idea to [publish your budgets and forecasts](/budgets-and-forecasts/owner-and-administrator/publish-a-budget-forecast-or-other-worksheet-tab.md) before you make any changes here.
{% endhint %}

The groups you see on the **Edit statement** tab of the **Manage statements** screen are used to group your accounts into categories in the corresponding financial statement. Each group displays as a grey row in the statement grid.

If the statement uses a [custom dimension](/financial-statements/getting-started/overview-of-the-link-between-financial-statements-and-dimensions.md), you can add new groups, edit existing groups, and delete groups you no longer need.

### Why you can't add or edit account groups in some statements

You can only add account groups and edit account mapping in statements based on custom dimensions.

If the statement uses an existing mapping dimension that is shared with another statement, you can’t add, edit, or delete account groups, or remap accounts here. These options will be unavailable, as illustrated in the following images.

<div align="left"><figure><img src="/files/dmmiYRCj5QUVnPnYhOTb" alt="" width="563"><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="/files/ZkSCW4FsvbLE6EEeCMRV" alt="" width="563"><figcaption></figcaption></figure></div>

### Add an account group <a href="#add-a-group" id="add-a-group"></a>

For example, suppose your Profit and Loss statement has one Revenue group but you want to view your revenue value split into two categories, Retail and Online. You can add another group of revenue accounts and edit the existing group accordingly.

1. Click the **Add** button where you want to insert the new group and select **Group**.\
   Alternatively, click an item's menu button (three dots), then select **Insert row above** or **Insert row below**, and select **Group**.
2. Enter a name for the group.<br>

   <div align="left"><figure><img src="/files/e88awrrlxgzrPnOX8qir" alt="Adding an account group using the Add button" width="563"><figcaption></figcaption></figure></div>
3. Edit its [**Reverse sign**](#reverse-the-sign-of-a-group) and [**Style**](#set-the-style-of-an-item) settings as required.
4. Proceed to [map accounts to the group](#map-accounts-to-a-group).

### Map accounts to a group <a href="#map-accounts-to-a-group" id="map-accounts-to-a-group"></a>

When you add an account group, you need to map accounts to that group, so they display in that group in the statement, such as Revenue, Cost of Sales, and so on. You might also need to edit the account mapping for an existing group, if circumstances change.

Unmapped accounts display in the **Suspense** row in your statement, as illustrated in the image below.

<div align="left"><figure><img src="/files/kvavfSJaG6nl3C9EaN98" alt="Suspense row showing unmapped accounts" width="232"><figcaption></figcaption></figure></div>

Click the **Map accounts** tab. This tab displays your chart of accounts in a grid.&#x20;

The **Mapping** column represents the selected dimension and this is where you map the accounts to the corresponding account groups in that dimension.&#x20;

* The name of the selected dimension is given below the statement name in the top-left corner.
* We recommend you customize these mappings to meet your needs rather than leaving them as they were created during the Phocas implementation process.&#x20;
* If an account is not mapped, this column is empty.&#x20;

Continuing with the example above where you added a new group for Online Revenue, now you need to map the applicable accounts into the Online Revenue group.

1. Search for the accounts that belong to the group. You can search by code, name or other property, or enter an account range. Alternatively, use the column filters or sort options. You can also select the **Hide mapped accounts** checkbox to only see the accounts that need to be mapped.
2. Select the checkboxes of the accounts or click and drag to select multiple accounts at the same time. The header on the **Mapping** column turns into a dropdown list.
3. Click the **Mapping** column header and select the group from the list. If you selected multiple accounts, your group selection will apply to all those accounts.
4. Either click the **Edit statement** tab to continue editing the statement, or [save your changes](#save-your-changes) now.

{% hint style="success" %}
You can create additional groupings for your dimensions to enhance analysis in your financial statements. See [Manage groups (sub-dimensions)](/financial-statements/managing-statements/manage-dimension-groups.md).
{% endhint %}

{% embed url="<https://phocassoftware.wistia.com/medias/pvsxd43vhy>" %}
Map accounts to a group
{% endembed %}

### Edit or delete an account group <a href="#create-a-sub-dimension" id="create-a-sub-dimension"></a>

See the [Edit statement](/financial-statements/managing-statements/customize-a-financial-statement.md) page to learn how to rename, show or hide, or delete a group (item) and more.

### Create a dimension group  <a href="#create-a-sub-dimension" id="create-a-sub-dimension"></a>

To enhance the analysis capabilities in your financial statements, you can create additional groupings (sub-dimensions) for your dimensions using the [Groups feature](/financial-statements/managing-statements/manage-dimension-groups.md). You can then come back into the Manage statements screen to map accounts into those new groups.


---

# 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/managing-statements/customize-a-financial-statement/customize-groups.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.
