> ## 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.

# Compare Scenarios side by side

> Show another version of your plan, or an earlier period, beside a table's values: compare Scenarios or time periods, choose the variance measures, and see how Variance and Variance % are calculated.

Use a comparison when you want to see two versions of your plan, such as Main and a Scenario, or this period against an earlier one, on the same table. A comparison is saved with the table, so everyone who opens the Page sees it, including readers of a share link.

> [tab] Ask Ari
>
> > Add a comparison to the cash table showing the Hiring freeze Scenario beside Main, with the variance in dollars and percent.
>
> Or create the Scenario and compare in one request:
>
> > Create a Hiring freeze Scenario, pause new hires through December, and compare payroll and ending cash with Main.
>
> To read values that already exist without changing any table:
>
> > How does Operating Expense in the Hiring freeze Scenario compare with Main for next quarter? Don't change anything.

> [tab] By hand
>
> **1. Open the comparison settings**
>
> Select **Compare**, the two-arrows button in the table's header. It is not shown on a phone or to anyone who cannot edit the table.
>
> **2. Choose what to compare**
>
> Under **Compare between**, choose **Scenarios** and pick the Scenarios to show beside the one you are viewing. Or choose **Time periods** to compare each period with an earlier one, and pick the earlier period, such as the previous period or a set number of periods ago. **None** removes the comparison, as **Reset** does. A time comparison needs exactly one Date row or column; the message the panel shows otherwise is in [Table block controls and messages](https://docs.cfo.ai/reference/table-blocks.md#table-header).
>
> **3. Choose the measures**
>
> Under **Variables**, turn on one or more of the available measures: **Value**, **Variance**, and **Variance %**; a time comparison also offers **Comparison value**. At least one stays on. A Scenario comparison starts with **Value** only, and a time comparison starts with **Value** and **Comparison value**.
>
> **4. Choose the layout**
>
> Under **Display as**, show the comparisons in **Columns** or **Rows**. For a Scenario comparison in **Rows**, **Group by** orders them **By scenario** or **By variable**; this grouping is a view setting and is not saved with the table.
>
> To remove the comparison, open **Compare** and select **Reset**.

A table compares either Scenarios or time periods, not both at once. Comparing time periods needs exactly one Date row or column on the table.

## How Variance and Variance % are calculated

In a Scenario comparison, **Variance** is the compared Scenario's value minus the value in the Scenario you are viewing. **Variance %** is that difference divided by the viewed value, and is blank when the viewed value is zero or empty. In a time comparison, **Variance** is the current period minus the earlier one. Whether a positive variance shows as good or bad depends on the Variable's **Variance colors** setting, **Higher is better** or **Lower is better**. Change it on the Variable, and every table that shows it follows; see [Format and arrange a table](https://docs.cfo.ai/guides/format-a-table.md).

## Related

* [Test a decision in a Scenario](https://docs.cfo.ai/guides/test-a-decision-in-a-scenario.md)
* [Scenarios, Snapshots, and version history](https://docs.cfo.ai/concepts/scenarios.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.