Skip to content

calc/require-aggmissg-on

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 AGGMISSG itself, with a line such as SET AGGMISSG ON;.

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

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

AGGMISSG is off by default, so Essbase doesn’t roll #Missing children up to their parents. It skips them, and the parent keeps whatever number it already had. That is right in a few narrow cases and wrong in most planning ones. The classic symptom is a cleared child: a planner clears an entity or a product, the child is now #Missing, the Rule aggregates, and the parent still shows last week’s total. The number looks believable and survives until someone drills in. With SET AGGMISSG ON; the #Missing children are part of the roll-up, so the parent shows the true total.

This Rule triggers the finding:

SET UPDATECALC OFF;
FIX("Budget", "Working", "FY26")
AGG("Entity");
ENDFIX

The message reads:

Set AGGMISSG explicitly. It is OFF by default, so #Missing children are not aggregated to their parents and a parent can keep a stale value after its children are cleared. `SET AGGMISSG ON;` is the usual choice.

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

SET UPDATECALC OFF;
SET AGGMISSG ON;
FIX("Budget", "Working", "FY26")
AGG("Entity");
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 AGGMISSG ON;. 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.

Some cubes need #Missing left alone. A rates or driver cube, where a missing rate must not roll into its parent, is the usual case. For those Rules, write SET AGGMISSG OFF; rather than adding an Exception or turning the Lint Rule off. The finding clears, and the choice is visible in the Rule itself.