> For the complete documentation index, see [llms.txt](https://docs.fabricplan.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fabricplan.com/user-guide/9-scenario-planning/9-4-scenarios-in-tree-layout.md).

# 9.4 - Scenarios in tree layout

This article explains how to create and work with scenarios in tree layout.

1. Create a matrix and, on the **Planning** tab, select **Tree** from the **Layout** dropdown.

<figure><img src="/files/5BCPE1u1FH9cCkb8unNe" alt=""><figcaption></figcaption></figure>

2. Configure the baseline measure.

<figure><img src="/files/CcWRUGeNHCqNV0XDpt22" alt=""><figcaption></figcaption></figure>

3. Select the comparison measure and select **Save**.

<figure><img src="/files/WCfkFYGMrhsbpaY7ews8" alt=""><figcaption></figcaption></figure>

4. On the **Tree View** ribbon, select **Create scenario**.

<figure><img src="/files/ipkNLI9wry5WAVJnZDtm" alt=""><figcaption></figcaption></figure>

5. Enter a name for the scenario. Select the series to include in the scenario. Select **Create**.

<figure><img src="/files/LOVNGlTLXOSdWCLHsjd5" alt=""><figcaption></figcaption></figure>

6. Use the Scenario menu to navigate between scenarios or create new ones.

<figure><img src="/files/E977ULneEZNWIaCJvBcz" alt=""><figcaption></figcaption></figure>

### Simulate scenario values

1. Hover over a tile to display the simulation slider and adjust values. Simulated values are automatically distributed to descendant nodes.

<figure><img src="/files/06RgcTwycT728NJ1BHJA" alt=""><figcaption></figcaption></figure>

2. Simulated values automatically roll up to higher levels in the hierarchy.

<figure><img src="/files/xVnMhnp08iqNqnjvwXma" alt=""><figcaption></figcaption></figure>

3. Review sparklines and accent lines, which are color-coded based on variance.

<figure><img src="/files/QKi5U99o8SdhrubRGrp7" alt=""><figcaption></figcaption></figure>

4. To prevent values from being simulated, hover over a tile, select the ellipsis (**⋮**) menu, and then select **Simulation lock**.

<figure><img src="/files/KplBRWsgykNR4LOtHx0M" alt=""><figcaption></figcaption></figure>

5. Simulated values appear at the top of the canvas.

<figure><img src="/files/QpoivBxcb0kCE0qbBXMi" alt=""><figcaption></figcaption></figure>

### Further customization

1. Select the arrow on a tile to collapse or expand descendant nodes.

<figure><img src="/files/TB6n9FoTPgAR3Fg33sSQ" alt=""><figcaption></figcaption></figure>

2. Select the ellipsis (**⋮**) menu to access actions such as pinning, editing, commenting, and locking values.

<figure><img src="/files/JTD5HIJ4ESNnx95AdMOp" alt=""><figcaption></figcaption></figure>

3. Select **Simulate per Period** to adjust simulation values across time periods.

<figure><img src="/files/Gmyei1KHrCRkiXfGYue0" alt=""><figcaption></figcaption></figure>

4. Enter precise values for each period to simulate the values for the selected node.

<figure><img src="/files/d7Hpo5QDjfH5QOFEKucg" alt=""><figcaption></figcaption></figure>

5. Select **View Details** to access additional insights.

<figure><img src="/files/k95Q4RY6FScpixnTWLHp" alt=""><figcaption></figcaption></figure>

6. On the **Trends** tab, compare values over time across scenarios and measures.

<figure><img src="/files/K3NDYHerQlWJlJqYbyKs" alt=""><figcaption></figcaption></figure>

7. Select **Table** to switch to a tabular view of the data.

<figure><img src="/files/6kghMqK4DkXiC0xvfCAk" alt=""><figcaption></figcaption></figure>

8. Select **Details** to view information about the selected node, including value, simulation impact, and variance.

<figure><img src="/files/PDN0ByZzxIVq0cv8yIVl" alt=""><figcaption></figcaption></figure>

9. Select **Variance** to compare the variance between the primary and comparison values for the selected total and its descendants.

<figure><img src="/files/CWKA7ZNQEu5mlsFbyvcx" alt=""><figcaption></figcaption></figure>

10. Select **Simulation** to visualize the impact of simulated values on the base measure.

<figure><img src="/files/ZKAx8UBaoQdNd74kmx9m" alt=""><figcaption></figcaption></figure>

11. Select **Dependents** to view trends over time for dependent nodes.

<figure><img src="/files/n0gtTcZaACExPtp4CP3N" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.fabricplan.com/user-guide/9-scenario-planning/9-4-scenarios-in-tree-layout.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
