Use setscaling to scale measure values in a planning sheet to a specified unit, such as thousands or millions.
The setscaling function accepts a measure and a scaling option.
setscaling(Measure1, SCALING.NONE)
The function supports the following scaling options:
The available options are shown in the formula editor's suggestions. Use the option that matches the unit you want users to see.
The following example uses a parameter to switch a measure between thousands and millions in a planning sheet.
For the Millions state, add a planning action with the following formula:
setscaling(Actuals_M_11925419800285133932, SCALING.MILLIONS)
For the Thousand state, add a planning action with the following formula:
setscaling(Actuals_M_11925419800285133932, SCALING.THOUSANDS)
The measure is displayed in millions by default. When users switch to Thousand, the values are displayed in thousands.
The screenshots show the measure values displayed in millions and thousands. For example, the total for 2026 Qtr 4 is approximately 90.22 million in the millions view and 90,220.54 thousand in the thousands view. The underlying quantity is the same; only the display scale changes.




