> 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/5-top-down-allocation/5-2-set-minimum-maximum-bounds.md).

# 5.2 - Set minimum and maximum bounds

### Create a minmax rule

1. Consider a blank data input measure for which you want to apply minimum and maximum bounds.<br>

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

2. To add a rule, select **Model**.<br>

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

3. Select the **Rules** dropdown.<br>

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

4. Select **Minmax rule**.<br>

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

5. Enter the rule name.

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

6. Select the **Apply to Measures** dropdown to choose the measures to which the rule applies. You can apply the rule to all measures or visual columns, selected measures only, or selected visual columns only.<br>

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

7. You can switch between different rule types using the **Rule Type** dropdown.<br>

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

8. You can set minimum and maximum bounds for measures or columns using different methods (*Static*, *Measure*, *Variable*). To set the value type, select the dropdown.<br>

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

### Static bounds

1. For example, to set static limit values, select **Static**.<br>

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

2. Enter the desired value.

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

3. Select the **Set Exclusive** checkbox if you want the values to be strictly within the given limits. Uncheck if you want to include the limit value also.

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

4. Similarly, configure the maximum value.

### Measure-based bounds

1. To set a bound linked to an existing measure, choose the **Measure** option.

   <figure><img src="/files/7kmBarcNWAB24nEAofHh" alt=""><figcaption></figcaption></figure>

2. Use the dropdown to select an existing measure.<br>

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

3. For example, you can choose the minimum value to be greater than the previous year's revenue (PY Revenue) measure.<br>

   <figure><img src="/files/3JksJb62XhHcZAxvLYhu" alt=""><figcaption></figcaption></figure>

4. Configure the maximum value similarly.<br>

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

### Row and column selection

1. Limit the rule to specific rows using the **Rows Selection** dropdown.<br>

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

2. Select **All Rows** if you want to apply the rule to all rows.<br>

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

3. Choose **Custom** if you want to select specific rows.<br>

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

4. Use the checkboxes to select the rows to which the rule is to be applied.<br>

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

5. Select **Submit**.<br>

   <figure><img src="/files/8bP3zrIkqHPQ65d5WYaR" alt=""><figcaption></figcaption></figure>

6. You can limit the rule to specific columns using the **Columns Selection** dropdown.<br>

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

7. Choose **Open Period** if you want all columns in the open period to be included for the rule.<br>

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

8. Select **Period Range** if you want to select a specific period.<br>

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

9. Use the calendar to select your period range.

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

10. Choose the **Custom** option if you want to select individual columns.<br>

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

11. In this example, *January* along with the whole of *Q2* is chosen.<br>

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

12. Select **Submit**.<br>

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

13. Select **Create** to apply your rule. The rules are applied now.<br>

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

### Entering values

1. You can check how the rule works by entering a number outside the specified range.

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

2. The value is not accepted and an error message appears.<br>

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

### Manage rules

1. Select **Manage rules**.<br>

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

2. Use the panel options to view, edit, duplicate, delete and toggle off existing rules, or add new ones.<br>

   <figure><img src="/files/VJhxK5mCjfsTiKLRm83E" 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/5-top-down-allocation/5-2-set-minimum-maximum-bounds.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.
