How Metric Values Are Stored
Two of the five metric types store their values and three are calculated when read. This explains why changing a formula rewrites data, and why a Summary metric is always current while a Formula metric is as current as its last run.
Stored versus calculated when read
Stored |
Input and Formula metrics each have their own table, keyed on one column per dimension, with one value column. The stored value is the number. On Journal and Transactions Table sheets, metrics are held in their sheet section's table instead. |
Calculated when read |
Parent, Linked and Summary metrics have no table. Their value is worked out when the sheet is read, from whatever their sources hold at that moment. |
The per-type breakdown is on The Five Metric Types.
What the distinction explains
Reports show the last successful calculation
Reports read stored values; opening one does not recalculate a Formula metric. A stored value is whatever the last successful calculation wrote. If a run failed, nothing on the sheet looks unusual — check the run status.
Changing a formula is a write
Because values are stored, changing the formula means rewriting them. That is why a publish asks for a scope — Publish Changes.
Summary metrics are always current
A Summary metric is calculated each time the sheet is read, so it always reflects current data and there is nothing to recalculate.
What triggers a write
There is no Calculate button. A stored metric is rewritten by whatever changed: a saved cell, a data upload, a version copy, a master-data change, a scheduled job, or a formula publish. The platform runs the affected metrics in dependency order, for the members actually touched. Details are on How Calculation Runs.
Addressing: one row per intersection
A stored metric's table has one column per dimension, so a value is addressed by which member of each dimension, never by position (see How Sheets, Metrics and Dimensions Relate). A new product or period simply adds new keys.
Grain and row counts: The number of rows a stored metric can hold is the product of the member counts of its dimensions. A metric held by SKU and month has far more rows than the same measure held by brand and quarter. See Performance and Limits.
What is versioned
Formula text |
Versioned in Metric Formula History, with the publish option used. |
Calculated values |
Not versioned. To revert, republish the earlier formula over the same scope — Publish Changes. |
Entered values |
Reviewed with View Data History, separately from Metric Formula History. |