Skip to main content

Metric Formulas - Time Reference

Limitations and Common Pitfalls

Most traps on this page give a plausible wrong number, not an error. They look normal on the row you are viewing, so check more than one period and slice.

1. The output appears in one period only

Time filtered on the driver as well as the rate:Filter applies to one input, not the formula. Pin Time on the Sum driver too and the formula produces results for that period only. The pinned period looks right.

What to do. Pin Time on the Lookup rate only; leave the driver without parameters. Check a second period before publishing. See Hold a Rate Constant Across Time.

2. A pinned period does not move at year rollover

The member is a hard-coded ID:2026.P01 stays 2026.P01 when the model rolls into the next year.

What to do. If the value can be a property of a dimension member, use Direction B of Set, which names no period. Otherwise, review pinned periods at year-end. See Filtering Time to Hold a Value Constant.

3. A rollforward drifts after a republish

The publish started after the point of change: The platform recalculates forward from the earliest period in scope, not before it. Start later than the change and the periods in between stay stale, along with everything built on them.

What to do. Start the publish at the earliest period the change affects. See How Rollforwards Are Calculated.

4. The first period of a rollforward is blank

Nothing seeds it for you: Either Set Opening Period is not ticked, or nobody typed the opening figure. An opening metric is typeable at its opening period only.

What to do. Save the chain with Set Opening Period ticked, go to the opening period in the scenario you are seeding, and type the balances. With a version-linked Opening Period, seed each scenario at its own start period. See Set Opening Period.

5. A balance total across a year is meaningless

Summary Method Sum on a balance metric: A year or quarter cell shows the Summary Method total of the stored period values below it, not a recalculated balance. With Sum, that is twelve closing balances added together. Set Summary Method to None on both Opening Balance and Closing Balance. See Configure Metric Settings.

6. The Offset box will not appear

One exact combination: A Set row, Time as output field, Previous as input field. Previous is listed only when Time is on Rows. See Previous and Offset.

7. No date-part functions

Match on the Time dimension:YEAR, MONTH, DAY and TODAY are not supported. For a planning period, match on the Time member instead. For a business date in a Date metric there is no supported way to get its month or year, and no working-day arithmetic.

What to do. Load the date's period alongside the date. Do not use an unsupported function name: it is passed straight to the database and may appear to work while behaving differently. See Date and Time Functions.

8. Other limits

Limitation

What to do

The period shift cannot be written in the expression

It is set in a Set / Previous row. Note it in the metric description.

Offset shifts the member ID

YYYY.Pnn by months, YYYY.Qn by quarters, YYYY by years; YYYY.TOTAL and other forms are not shifted. See Previous and Offset.

Set Opening Period is hidden on most metrics

It appears only when Metrics Type is Formula and Time is on Layout > Rows.

A rollforward is replayed once per period

Three years of monthly data is thirty-six passes, to the end of each version's Applicable To period. Start the scope at the point of change.

A rollforward needs a version period range

Set Applicable From and Applicable To on every version that carries a rollforward.

A failed run compounds down a chain

Later periods are built on stale values. Check the run's status in the Task Monitor (Explorer → Governance → Monitor → Task Monitor), not the sheet; on Failed, rerun from the earliest affected period.

A reserved flow member is blocked when Carry Forward is enabled

Typing is refused with “Cannot input data to <flow member> when <feature> is enabled”. Decide which mechanism owns the hand-off.

A metric cannot be saved while its publish is in progress

Saving is refused with “Metric Publish is in progress.” until the run finishes.

Limits in the other two modules

Where to look: General formula limits are on Limitations and Common Pitfalls (Metric Formula). Metric-object limits, such as Summary Method defaults, Data Type groups, Ratio not being offered and Allow Input, are on Limitations and Common Pitfalls (Metrics).

The short version

Four things to remember:

  1. Read the rate with Lookup and filter Time on it only, never on the driver.
  2. Compare two periods before you publish.
  3. Start a rollforward publish at the earliest period the change affects.
  4. Set Summary Method None on every balance metric.

Next:Error Messages and Symptoms — Time-related messages and symptoms, with cause and fix.

Error Messages and Symptoms

Time formulas give few messages and many silent symptoms, so the second table covers symptoms with no message. Messages are quoted as the product shows them, so you can search for them.

Messages you will meet

Message

Cause and fix

Circular reference found for below metric(s): …

A formula chain loops back on itself and the loop is not declared. For a period-over-period loop, the opening metric must read the closing metric through a Set / Previous row (Build a Rollforward). If the loop is not intended, the named metrics show where it is.

Cannot input data to <flow member> when <feature> is enabled

A Carry Forward feature on the sheet owns that flow member. Decide whether Carry Forward or a formula rollforward owns the hand-off. See Build a Rollforward.

Cannot input data to Calculated Metrics

You typed into a Formula metric outside its opening period. Only an opening metric accepts input, and only at its opening period. See Set Opening Period.

Metric Publish is in progress. Please try again later

The metric's previous publish has not finished; a rollforward replay can take a while. Wait, or check the run in the Task Monitor (Explorer → Governance → Monitor → Task Monitor), where you can stop a running calculation.

Failed to calculate metrics: followed by <sheet>.<metric> and Reason: … on separate lines

The named metric failed; the run carried on, so later periods may be built on stale values. Check the run's status in the Task Monitor (Explorer → Governance → Monitor → Task Monitor), not the sheet. On Failed, fix the named metric and rerun from the earliest affected period. See How Rollforwards Are Calculated.

Formula is invalid! Please check your syntax or list of supported functions.

The formula failed its check on save. On a Time formula, one possible cause is an unsupported function such as YEAR, MONTH, DAY or TODAY. See Date and Time Functions.

Messages that are not Time-specific: General formula and metric messages are on Error Messages and Symptoms (Metric Formula) and Error Messages and Symptoms (Metrics).

No error, but the numbers are wrong

Symptom

Likely cause

The output appears only in the pinned period

Time is filtered on the Sum driver as well as the rate. See Hold a Rate Constant Across Time.

A pinned rate still reads last year's period

A Filter keeps the members you selected; it does not move to the new year. See Filtering Time to Hold a Value Constant.

The first period of a rollforward is blank

Set Opening Period is not ticked, or nobody typed the opening figure. See Set Opening Period.

A rollforward is right early on and drifts later

The publish started after the point of change. Republish from the earliest period the change affects. See How Rollforwards Are Calculated.

A rollforward is not carried from period to period at all

The versions in scope have no Applicable From / Applicable To range. Set both on every version that carries a rollforward.

A balance total across a year is meaningless

Summary Method is Sum on a balance metric. Set it to None on Opening and Closing Balance.

The second period's Opening does not equal the first period's Closing

The Set row is not doing the shift. Check it has Time on the output, Previous on the input, and Offset -1. See Previous and Offset.

One scenario's rollforward starts in the wrong period

A fixed Time member is the Opening Period, so every scenario starts there. Use a Version property linked to Time.

The rate changes when it should be fixed, or the reverse

Filter on a Lookup input is absolute; Set against Previous is relative. Check which one you used.

A rollforward republish takes longer than expected

The chain is replayed once per period, from the start of the scope to the end of each version's Applicable To period. Start the scope as late as the change allows.

A period-based condition never matches

You are probably deriving the period from a date value. Match on the Time member or a Time property. See Date and Time Functions.

Where to go next: Back to the Metric Formulas - Time home page, or review the checks in Build a Rollforward.

Was this article helpful?

We're sorry to hear that.