Skip to content

calc/require-updatecalc-off

Starts at Warning. It reads Calc Script files in Rules only. A Template or Script is a piece that Deploy places inside a Rule, so the setting belongs to the Rule as a whole.

The Rule must set UPDATECALC itself, with a line such as SET UPDATECALC OFF;.

  • Either value passes. SET UPDATECALC ON; is a choice you made on purpose, so it clears the finding too.
  • Case and extra spaces don’t matter, so set updatecalc off ; counts.
  • A command inside a comment doesn’t count.

When the Rule never sets UPDATECALC, the finding sits on the first line of the file, because there is no one word to underline.

Intelligent Calculation is on by default in Essbase. With it on, Essbase keeps track of which data blocks it thinks are already calculated and skips them next time. That saves time on a full CALC ALL; against a database nobody touched in between. In planning work that assumption breaks all the time: users enter data, an earlier Rule writes into part of the cube, or your FIX covers blocks Essbase already marked as calculated. The Rule then finishes quickly and successfully, and some of the numbers are still the old ones. Nothing fails, so nobody notices. SET UPDATECALC OFF; makes Essbase calculate every block your FIX selects, every time.

This Rule triggers the finding:

FIX("Budget", "Working", "FY26")
CALC DIM("Account");
ENDFIX

The message reads:

Set UPDATECALC explicitly. Intelligent Calculation is ON by default, so Essbase may skip blocks it thinks are already calculated and leave this script's results incomplete. `SET UPDATECALC OFF;` is the usual choice.

Set it at the top of the Rule and the finding clears:

SET UPDATECALC OFF;
FIX("Budget", "Working", "FY26")
CALC DIM("Account");
ENDFIX

Click the finding in the Problems panel, which takes you to the first line, then press Ctrl+. (Cmd+. on a Mac) and choose Insert SET UPDATECALC OFF;. The line goes at the top of the Rule, below any comment block that opens the file.

Change its level (Error, Warning, Info) or turn it off in the Lint Rules panel, or excuse one file with a Lint Exception.

If a Rule really does need Intelligent Calculation, write SET UPDATECALC ON; rather than adding an Exception. The finding clears, and the next person to read the Rule can see the choice was deliberate.