The Five Metric Types
Metrics Type decides where a metric's values come from. A new metric starts as Input; you change its type in the Metric Details pane. Formula is one of five options.
Which type do you need?
You need… |
Use |
|---|---|
People to enter the number. |
Input |
A calculation from other metrics — multiply, divide, conditions, a different grain, a period shift. |
Formula |
To add or subtract other metrics on the same sheet section (for example Gross Profit = Revenue − Cost of Sales). |
Parent |
An existing metric to appear on another sheet (added with Link Metrics). |
Linked |
A formula over other metrics, recalculated each time the sheet is read and never stored (numeric only). |
Summary |
Now read the details below.
The five options
Metrics Type |
Where its value comes from |
Use it when |
|---|---|---|
Input |
Typed, uploaded or loaded by an integration. No formula. |
People enter the number: volumes, assumptions, rates. Validations can limit what they type. |
Formula |
Calculated from other metrics by an expression you write. |
Anything the platform must work out. |
Parent |
Combines other metrics in the same sheet section with + or −. You pick the metrics and an operator between each pair; you write no expression. Summary metrics cannot be picked. Offered only for numeric Data Types; once Parent, the Data Type is Number or Currency. |
A line such as Gross Profit = Revenue − Cost of Sales. It is not a roll-up across dimension members. |
Linked |
Shows one existing Input, Formula or Summary metric, added to a sheet with Link Metrics (not chosen from the Metrics Type list). Its Data Type and Summary Method are copied from the source and cannot be changed. |
The same figure must appear on another sheet. See Allow Input below. |
Summary |
A formula over Input or Formula metrics; at least one must use the Sum function. Calculated each time the sheet is read, for the members on screen; never stored. Numeric Data Types only. |
A figure must always reflect current data. |
Which ones store their values
This decides what happens when data changes. Details are on How Metric Values Are Stored.
Type |
Stored? |
Typed into |
What that means |
|---|---|---|---|
Input |
Stored |
Yes |
Saving a value triggers recalculation of whatever depends on it. |
Formula |
Stored |
No |
Changing the formula means rewriting stored values — hence the publish scope choice. |
Parent |
Calculated when read |
No |
Worked out from the metrics it adds or subtracts. |
Linked |
Calculated when read |
Only withAllow Input |
Reads its source metric's values. Typed values are written to the source. |
Summary |
Calculated when read |
No |
Always reflects current data. |
Allow Input does not make a Formula metric typeable: The Allow Input checkbox appears only on a Linked metric whose source is an Input metric. Values typed into it are written to the source Input metric, not to a separate override.
The one exception: a Formula metric with Set Opening Period ticked accepts typed values at its opening period only, to seed the first period of a rollforward.
For a calculated figure that needs manual overrides, use two metrics: an Input metric for the
override, and a Formula metric that reads it — for example
=IF(D2<>0, D2, E2*F2), where column D on the formula grid is the override and
columns E and F are the inputs being multiplied.
Formula or Parent?
Use Parent when the calculation only adds and subtracts metrics on the same sheet section: there is no expression to get wrong. Anything else — multiplication, division, a condition, text, a different grain, a period offset — needs Formula; see Metric Formula.
Watch out: Once another metric uses a metric as an input, switching it to Parent or Summary is refused with “Metric can not be changed to Parent or Summary metric if currently being used as input for other metrics.” Deleting it is refused with “Metric is currently being used as input for metric %s. Please update formula before delete.” Use Where Used to find the dependants first.
Data Type is the other decision to get right early
Data Type can be changed later, but only within its own group:
Group |
Members of the group |
|---|---|
Numeric |
Integer · Number · Currency · Percentage — freely interchangeable |
Text |
Text · Boolean · Selection (Link to) — a metric whose Data Type is a dimension |
List |
List · Data Status — a separate group from Text |
Groups of one |
Date · Document · Control — cannot be changed to anything else at all |
Crossing a boundary is refused with “Can not change the data type. Please change to the same data type: …” (for Control: “Can not change data type from Control to Other”). The only way across is a new metric and a migration, so decide Text versus List, and Number versus Date, before anyone enters data.