> 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/7-what-if-simulations/7-2-bi-directional-simulations.md).

# 7.2 - Bi-directional simulations

This article explains how to use bi-directional simulations in the planning sheet.

### Use a simulation slider

1. Select a cell in the simulation column and use the slider to adjust the simulated value.

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

2. Simulated values are automatically aggregated to parent nodes in the row and column hierarchies and distributed to child nodes.

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

3. To simulate multiple cells, press **Ctrl** and select multiple cells. Then, use the slider on one of the selected cells.

<figure><img src="/files/9NiN7WUHAFHEIHomod6Y" alt=""><figcaption></figcaption></figure>

### Bulk edit simulated cells

1. On the **Planning** ribbon, select **Bulk Edit**.

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

2. In the measure dropdown, select the measure to edit.

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

3. To filter the data, select **Add Filter**. You can apply multiple filters to row and column data.

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

4. Use the dropdown menus to configure the required filters.

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

5. In this example, a specific brand is selected as the filter.

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

6. Use the dropdown menus to select the row and column hierarchy levels where the simulation should be applied.

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

7. Set the simulation value by using the slider or entering a value directly.

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

8. Select **Apply**.

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

The simulation is applied to the selected categories.

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

### Lock cells

1. To lock a cell, select the cell and then select the lock icon next to the simulation slider.

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

2. Locked cells are greyed out and are not affected by simulations applied to parent or child cells.

<figure><img src="/files/2BSOyQDmoFrimLIJS8Wb" alt=""><figcaption></figcaption></figure>

3. To unlock a cell, select the cell and then select the unlock icon.

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

### Directly edit cells for existing measures

1. To update a cell value, select the cell and enter a new value.

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

2. To enter formulas, double-click the cell and use the formula bar to reference existing measures or apply functions.

<figure><img src="/files/rJXEeCKmfiUHkgVsjzJN" 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/7-what-if-simulations/7-2-bi-directional-simulations.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.
