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

# Variable behavior

> Understand how a variable calculates across the Last actual date, period overrides, dimensions, scenarios, and totals.

A variable's value in a cell depends on context. The period, the dimension value, the scenario, and any override all affect the result.

## Across the Last actual date

The [Last actual date](https://oculon.mintlify.site/concepts/data-and-structure/time/last-actual-date.md) is a model setting that splits actual periods from planned periods.

In the model grid, a **Last actual date** marker sits between the last actual period and the first planned period. Click the marker to pick a different month.

![Q4 Revenue Planning Model grid with the Last actual date marker between Nov'26 and Dec'26 and a month picker open for 2026, with Nov selected.](https://mintcdn.com/oculon/1JWHwlExES5W7YSl/images/start-here/variable-last-actual-date.png?fit=max\&auto=format\&n=1JWHwlExES5W7YSl\&q=85\&s=8325140b356c1cc748bfafda4cd80b08)

Choosing the Last actual date from the model grid

* Periods up to and including the Last actual date use the variable's **actual formula**.
* Periods after the Last actual date use the variable's **planned formula**.

In the formula editor, these are the **Actual** and **Plan** tabs. For example, `Revenue` can sum invoice amounts from Transactions in actual periods, and use `Units Sold × Price per Unit` in planned periods.

When you close a period, move the Last actual date forward. That period then uses the actual formula. Check the periods on each side of the Last actual date to confirm the switch looks right.

## Period overrides

You can override a single period with a specific value instead of the formula result. Use this for one-off adjustments, such as a planned one-time expense or a signed contract amount.

* Overridden cells are marked in the grid, so you can find them.
* To remove an override, use **Revert to original** on the cell.
* Other periods keep using the formula.

Review overrides when you move the Last actual date. An override can hide a change in the underlying data.

## Across dimensions

When a variable has a [breakdown](https://oculon.mintlify.site/concepts/data-and-structure/variables/variable-breakdown.md), Oculon calculates it for each dimension value. A formula on the variable applies to every dimension value. See [Using dimensions with variables](https://oculon.mintlify.site/concepts/data-and-structure/dimensions/using-dimensions-with-variables.md).

## Across scenarios

A variable can hold different values in each [scenario](https://oculon.mintlify.site/concepts/modeling/scenarios/overview.md). Values you don't change in a scenario keep following the `Default Scenario`. Values you change become scenario-specific overrides.

## In totals

Quarters, years, and the variable's total row use the variable's **Aggregation** settings. For example, **Sum** adds the months in a quarter, while **Final** shows the last month's value. If a summary looks wrong, check the aggregation before the formula. See [Time aggregation](https://oculon.mintlify.site/concepts/data-and-structure/time/time-aggregation.md).

## As an input to other variables

One variable can feed many others. A change to a shared driver, such as `Price per Unit`, flows to every formula that references it, and to every view and board that shows those results. See [Variable references](https://oculon.mintlify.site/concepts/data-and-structure/variables/variable-references.md).

## Related

* [What is a variable](https://oculon.mintlify.site/concepts/data-and-structure/variables/overview.md)
* [Last actual date](https://oculon.mintlify.site/concepts/data-and-structure/time/last-actual-date.md)
* [Formula basics](https://oculon.mintlify.site/concepts/modeling/formulas/overview.md)
* [Time aggregation](https://oculon.mintlify.site/concepts/data-and-structure/time/time-aggregation.md)


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