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

# Linked data

> Link Transactions to a model so its formulas can read Transactions values as actuals.

You link Transactions to a model so the model can use their records. After you link them, the model's formulas can reference the Transactions variables. Most often, you reference them in a variable's **actual formula**.

## Link Transactions to a model

1. Open the model.
2. In the left panel, find the **Transactions** section.
3. Click **+** (**Link transactions**) and choose the Transactions to link.

![Q4 Revenue Planning Model with the Pages panel open, showing Linked Models, Dimension, and Transactions sections. The + next to Transactions opens a picker with a search box, an Add new option, and Transactions tables such as Users, Accounts, Organisation, and Revenue-Greenfield.](https://mintcdn.com/oculon/vnBQxShftdx0BeDo/images/start-here/db-linked-data.png?fit=max\&auto=format\&n=vnBQxShftdx0BeDo\&q=85\&s=4581fa33a3f85a8f2954c23717f684a9)

Linking Transactions from a model's Pages panel

Click a linked Transactions table in the panel to open it below the model. A model can link several Transactions tables. Each one must be in the same workspace as the model.

## How values reach the model

When a model reads a Transactions variable, three settings decide where each value lands:

* The **Date Column** places each record in a period at the model's granularity, such as `monthly`.
* The **Segment by** mappings split values by dimension, such as `Region`.
* The variable itself, such as `Amount`, provides the number.

For example, `Revenue` in a model can use `Amount` from `Invoices` as its actual formula. Each month up to the [Last actual date](https://oculon.mintlify.site/concepts/data-and-structure/time/last-actual-date.md) then shows the invoice total for that month. After that date, the **planned formula** takes over.

See [Transaction structure](https://oculon.mintlify.site/concepts/data-and-structure/transactions/transaction-structure.md) for how to set these columns.

## What else depends on Transactions

Once a model reads Transactions, the data also reaches what the model feeds:

* [Views](https://oculon.mintlify.site/concepts/analysis-and-reporting/views/overview.md) and [Compare](https://oculon.mintlify.site/concepts/analysis-and-reporting/compare/overview.md) on that model
* [Boards](https://oculon.mintlify.site/concepts/analysis-and-reporting/boards/overview.md) built from the model
* Other models that link to that model

When Transactions refresh, all of these pick up the new values.

## Review dependencies before you change structure

Changes to Transactions can break the models that read them. Check linked models before you:

* remove or rename a variable
* change the Date Column
* change a Segment by mapping
* unlink the Transactions from a model

## Related

* [What is a transaction](https://oculon.mintlify.site/concepts/data-and-structure/transactions/overview.md)
* [Transaction structure](https://oculon.mintlify.site/concepts/data-and-structure/transactions/transaction-structure.md)
* [Linked models](https://oculon.mintlify.site/concepts/modeling/models/linked-models.md)
* [Variable behavior](https://oculon.mintlify.site/concepts/data-and-structure/variables/variable-behavior.md)
* [Last actual date](https://oculon.mintlify.site/concepts/data-and-structure/time/last-actual-date.md)


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