# SETSCALING

Set custom scaling for a specific measure or an array of measures.

#### Syntax <a href="#syntax" id="syntax"></a>

```javascript
SETSCALING(measures, value)
```

#### Arguments <a href="#arguments" id="arguments"></a>

measures - An array of measures or a single measure to set custom scaling.

value - Set to millions/billions/thousands/none, etc. Use the SCALING identifier to access the scaling options supported in Inforiver.

#### Example <a href="#example" id="example"></a>

```
SETSCALING([2025 Actuals], SCALING.MILLIONS)
//Sets the scaling to millions for the 2025 Actuals measure
```

<figure><img src="/files/FepCcD5j5LRvWDRvMAOD" alt=""><figcaption><p>Set the scaling to millions for the 2025 Actuals measure</p></figcaption></figure>

Dynamically control the scaling with scripts:

<figure><img src="/files/FepCcD5j5LRvWDRvMAOD" alt=""><figcaption><p>Using scripts to set the scaling factor</p></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.fabricplan.com/planning-sheets/formula-syntax/scripting-functions/setscaling.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
