# Metric and Measure Dependencies

Dependencies describe which measures and metrics feed into which others in your financial model. Understanding them helps you:

* Predict the downstream impact of an overlay before you run the forecast.
* Identify which measures are the real levers for a given outcome.
* Troubleshoot unexpected changes in a metric's forecast values.

## Upstream inputs and downstream impact

* **Upstream inputs** answer "what feeds into this metric?" For example, Gross Margin depends on Gross Profit, which depends on Revenue and COGS.
* **Downstream impact** answers "what does a change to this measure affect?" For example, a change to Subscription Revenue flows through to Gross Profit, then to Gross Margin, and on to any other metric built on them.

## Dependencies between measures

Dependencies aren't limited to metric formulas. A measure forecast with the **Roll forward** or **Derived** strategy depends on the measures in its definition. For example, Capex feeds PP\&E, so an overlay on capex flows through to the balance-sheet line even though both are measures. For how to set a strategy, see [Configuring a Forecast Version](/forecasting/configuring-a-forecast-version).

## Dependencies across periods

* The same input can appear at **two points in time**. Depreciation = PP\&E − previous-period PP\&E is one dependency read at two times, not two dependencies.
* Definitions can loop **across periods**. PP\&E accumulates depreciation, and depreciation is computed from last period's PP\&E. That loop is allowed because it steps back one period each time around. A loop where every step is in the *same* period is rejected when you save.

## Trace dependencies with the assistant

You can ask the assistant to trace dependencies for any measure or metric, for example "What feeds into Gross Margin?" It shows you the full chain, upstream and downstream.
