> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cfo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Break a number down

> Split a row by a Dimension with Segment by, such as Revenue by Region, collapse or expand the breakdown, and see the inputs behind a calculated number with Drill in. Also add, rename, delete, or hide a Dimension's items, and choose which combinations of items a table shows.

Use this guide to split a number into the parts that make it up, such as Revenue by Region. It also shows how to see what a calculated number is made of, such as the headcount and salaries behind Payroll. To learn what Dimensions and segments are, read [Assumptions and breakdowns: Variables and Dimensions](https://docs.cfo.ai/concepts/variables-and-dimensions.md).

You need a desktop browser and edit access to the Page.

## Split a row by a Dimension (Segment by)

> [tab] Ask Ari
>
> > Break Revenue down by Region on the P\&L table.

> [tab] By hand
>
> **1. Open Segment by**
>
> Point at the row name, such as Revenue, and select the branch button, **Segment by**. Or right-click the row name and choose **Segment by**.
>
> **2. Pick the Dimension**
>
> Search for the Dimension, such as Region, and select it. To create a new one, type its name and select **Create dimension: \[name]**.

The table updates at once, with a row for each item under Revenue. An item whose values are all empty can be left out; see [Why a table looks empty](https://docs.cfo.ai/reference/table-blocks.md#why-a-table-looks-empty). Revenue's own row now adds up the rows beneath it, so a value you change on any item reaches the total; see [Totals, aggregation, and time rollups](https://docs.cfo.ai/concepts/totals-and-rollups.md). Columns work the same way: point at a column header and select **Segment by**.

To change a breakdown, select **Segment by** on the row again. The editor that opens, **Segment Revenue by**, lists the levels. Select **Add** to nest another Dimension under the first, such as Product under Region, drag the levels to reorder them, or select **Remove level**.

A Dimension can break down the rows or the columns of one table, not both.

On a column header for one item, such as a single region, **Segment by** breaks down that item only.

## Collapse or expand a breakdown

Select the arrow beside a row name to collapse the rows under it, and select it again to expand them. **Shift**-click the arrow, or **⌘**-click it on a Mac, to do the same for every row at its level under the same parent, such as each department under Revenue. You can also right-click the row and choose **Collapse child rows** or **Expand child rows**.

Collapsing changes only your own view, and your browser remembers it for up to 200 blocks; see [Limits](https://docs.cfo.ai/reference/limits.md#tables-pages-sharing-and-exports). You cannot set a breakdown to start collapsed for everyone who opens the table. Column groups collapse the same way, with the arrow in the group's header; see [Show, hide, or pin total columns](https://docs.cfo.ai/guides/format-a-table.md#show-hide-or-pin-total-columns).

## Remove a breakdown

Right-click the Dimension's label row, such as **REGION**, and choose **Remove dimension**. The rows leave this table; the Variable's values stay in your Model. When this is the Dimension's last row, column, or drill-in on any table, cfo.ai first asks **Delete variable or dimension?**, and choosing **Delete completely** deletes the Dimension from your Model; see [Build a Table block by hand](https://docs.cfo.ai/guides/build-a-table.md#remove-a-row-or-delete-a-variable).

## See the inputs behind a calculated number (Drill in)

Drill in shows what a calculated number is made of without changing the table.

1. Point at the row name of a calculated row, such as Payroll, and select the magnifier button, **Drill in**.
2. The rows its formula reads, such as Headcount and Salary, open beneath it on a hatched background. Drill in on one of them to keep tracing. For a Variable that reads a connected system, drilling reaches the source records, such as the individual transactions.
3. Select **Clear drill-in** on the row to close them, or right-click and choose **Remove all drill-in rows**.

Drill-in rows are not saved: they close when you reload the Page, and nobody else sees them. To label each input row with its Variable's name, right-click it and choose **Show variable name**.

Use **Segment by** to ask how a number splits across categories, and **Drill in** to ask which inputs produced it. To have Ari explain a number, see [Ask Ari about a number](https://docs.cfo.ai/guides/ask-about-a-number.md).

## Add an item to a Dimension

An item is one entry of a Dimension, such as West in Region.

* At the end of a breakdown's items, select the **+** button, **Create Region item**. Type the name and press **Enter**.
* Or right-click the Dimension's label row, such as **REGION**, and choose **Create Region item**. From an item, the same entry is under **Region dimension settings**.
* Or point at the left edge of an item row, select **Insert row below**, type the name, and press **Enter**.

The new item appears on every table that breaks down by that Dimension, unless you add it under a parent row. An item you add under a parent row, such as a vendor under one account when the table shows vendors under accounts, belongs to that account only; it does not appear under the other accounts. An item you add on a row with no parent items above it is available everywhere the Dimension is shown.

You can add items only to a Dimension of text items, not of numbers, dates, or true-or-false values. While the Dimension is filtered, the action is unavailable until you clear the filter; see [Filter and sort a table](https://docs.cfo.ai/guides/filter-and-sort-a-table.md#clear-a-filter-so-every-item-shows-again).

## Rename an item

Double-click the item's name, or right-click it and choose **Rename**. Type the new name and press **Enter**.

You can rename only items you created; items that come from a connected system keep their source name. A rename also updates the formulas, filters, drill-ins, and charts that use the item, and a notice counts what it changed.

## Delete or hide an item

To delete an item you created, right-click it on the table where the Dimension was created and choose **Delete Region item**.

* An item nothing uses is deleted at once. The notice that confirms it offers **Undo**.
* An item that formulas, filters, or other tables still use opens **Delete item?**, which lists what the deletion changes. Choose **Cancel**, or **Delete anyway**. Deleting also removes the values typed into the item's row, which cfo.ai stores as formulas for that item alone.

On any other table, hide the item instead: right-click it and choose **Filter out this item**. Items from a connected system cannot be deleted. Every notice is listed in [Table block controls and messages](https://docs.cfo.ai/reference/table-blocks.md#other-notices).

## Choose which combinations of items appear

A breakdown can show only the items and combinations that have data, such as the products each region sells, or every combination. Right-click the Dimension's label row and choose **Segment generation**:

* **Show only matching segments** shows only the combinations that have data. This is the standard choice.
* **Expand to create all segments** shows every combination, so you can type values into ones that have none yet, except in cells that come from a connected system. For a Dimension of numbers, also set **Start Value** and **End Value**; for a Dimension of dates, set **Start / End dates**. The range takes effect once both ends are set.

## Use a Dimension as a breakdown or a mapping

A Dimension on a table either breaks Variables down, one row per item, or shows which item each row belongs to, such as each employee's department. To switch, right-click the Dimension's label row and choose **Use as**, then **Segmentation** or **Mapping**. See [Map one Dimension's items to another](https://docs.cfo.ai/guides/map-dimensions.md).

## Related

* [Assumptions and breakdowns: Variables and Dimensions](https://docs.cfo.ai/concepts/variables-and-dimensions.md)
* [Totals, aggregation, and time rollups](https://docs.cfo.ai/concepts/totals-and-rollups.md)
* [Filter and sort a table](https://docs.cfo.ai/guides/filter-and-sort-a-table.md)
* [Table block controls and messages](https://docs.cfo.ai/reference/table-blocks.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.