Necessary

Duplicated line item

Two identical line items run the same calculation twice and drift apart when only one is edited, so keep one and reference it.

What MaxCheck detects

Line items with a formula that match another line item on name, format, formula, summary, Applies To, time scale, time range and versions.

Why it hurts

The same calculation runs twice and the copies drift apart when only one is edited.

Example

Taken from the rule's own test cases: formulas it must flag, and formulas it must not.

WarningFlags this(same line item in two modules)

Calc A
  • WarningMargin
    Revenue - Cost
Calc B
  • WarningMargin
    Revenue - Cost

Fine (no formula)

Input A
  • Price
Input B
  • Price

How to fix

Keep one and reference it from the other module.

Severity
WarningCounts toward the area score.
Area
Necessary
Runs in
Full analysis only
Rule ID
N_DUPLICATED
Version
Rule 1.0.0, rule set 1.4.0

Does your model do this?

Upload the line-items blueprint. This rule runs in the full analysis, with a work email.

Check your model