Metrics are a critical Block used in Pigment for inputs, calculations, and outputs or reporting. Metrics are made of Dimension Lists that define their structure and can be set to different data types to handle multiple different uses.
What is a Metric?
Metrics are a type of Block designed to perform three different tasks:
inputting data
performing calculations
reporting
Some examples of data inputs are growth percentages or other assumptions. Metrics are used for Reporting outputs such as a P&L statement. Other Metrics might perform calculations, such as seasonality multipliers, which are referenced by other Metrics.
What are Metrics made up of?
Metrics are defined by their structure, data type, formulas and a number of other settings.
Structure. A Metric’s structure is made up of Dimension Lists that disaggregate data in a grid. For example, if you wanted to see monthly revenue for each country and product in your company, you would create a Metric with Country, Product and Month Dimensions.
Data type. The Data type of a Metric controls what type of data can populate that Metric. For example, if you set the data type to Date, you are only able to put dates into that Metric.
Formulas. This is another critical element in Metrics. Input Metrics don’t have a formula, whereas calculation or reporting Metrics have formulas to analyze data. There are different type of Functions and Modifiers that are used in Metrics.
⚠️ Important
The Configure Blocks permission is needed to be able to create Metrics and edit formulas.
Create, Edit and Delete a Metric
Create
To create a Metric:
In your Application, hover your pointer over Blocks in the left sidebar and select the plus sign (+).
Select New Metric.
Complete the required fields to name your new Metric, to choose a data type and to decide which Dimensions this Metric will be based on.
For more information on data types for Metrics, see Data types in Pigment.From the menus, define a default aggregator for the time or non-time Dimensions in your Metric.
- Default time aggregator
- Default non-time aggregator
Default aggregators are applied in new Views whether the Dimensions are displayed as Pages, or whether they’re hidden. Any default aggregators already applied to existing Views remain unchanged when you duplicate or draft those Views. You can change the default Metric aggregators at any time from the Block Settings, but the new aggregator only affects Views created from that point onward.
Below you can see an example of a Metric named FTE (Full time employee) with two Dimensions, Country and Month. The default aggregator for the time Dimension, Month, is set to Last Non-blank, and the default aggregator the non-time Dimension, Country, is Avg.
Each time a new View is created and the Dimension is added in Pages or is hidden, the custom aggregator will be set to Last Non-blank for the Time Dimension and to Avg for non-time Dimensions.
.gif?sv=2026-02-06&spr=https&st=2026-07-25T13%3A41%3A13Z&se=2026-07-25T13%3A55%3A13Z&sr=c&sp=r&sig=kWm7bTRMaEVzMp4bSVIDxQT7MBOKshdHNhoucaPKFVE%3D)
Edit or Delete
To edit your Metric:
Hover your pointer over the relevant Metric in the left sidebar.
Select the three dots and then select Settings. A dialog opens showing several Metric editing options. For more information on these, see Block settings for Metrics.
🛡️ Warning
If you change a Metric data type, all data in the Metric is erased.
To delete your Metric, follow the above steps but select Delete.
Duplication and batch tasks
Duplicate
To duplicate a Metric:
Hover your pointer over the relevant Metric in the left sidebar and then select the three dots.
Select Duplicate.
Enter a new name for the duplicated Metric and select which options you require.
Select Duplicate again.
Batch Duplicate
To duplicate several Metrics at once:
Select All Blocks in the sidebar.
Select the Metrics you want to duplicate followed by Duplicate Metrics.
⚠️ Important
You can duplicate a maximum of 20 Metrics at a time.
Select which options you require for the batch of duplicated Metrics.
(Optional) If you toggle on Formulas in the Duplicate options, you can update the Metric formulas to automatically reference the other duplicates within the same selection.
Select Duplicate.
Batch Block Rename
You can update several Block names at once by either finding and replacing text, or by adding a prefix or suffix, to the existing Block name.
Select All Blocks in the sidebar.
Select the Blocks you want to rename followed by Rename Blocks.
To rename Blocks by locating and replacing specific text in the Block name, do as follows:
Select Replace.
Enter the text you want to find.
Enter the new replacement text.
(Optional) Toggle on if the searched text needs to have the exact case.
(Optional) Toggle on if the searched text needs to be located at the start of the Block name.
Select Rename Blocks.
To rename Blocks by adding a prefix or a suffix to the Block name, do the following:
Select Add text.
Enter the text you want to append to the Block name.
Indicate if you want the new text at the start or at the end of the current Block name.
Select Rename Blocks.
Edit the structure of multiple Metrics
You can edit the structure of multiple Metrics from All Blocks. To prevent unintended uses of this functionality, Pigment has made this an opt-in feature.
🛡️ Warning
Be aware that these changes lead to data loss in Metrics without formulas.
In the left sidebar, select your initials in the top left to open your menu.
Select Account Settings to open Advanced features.
Toggle on Edit Metric structure in bulk.
You can now change the data type and structure of multiple Metrics at once.
Export Metrics and formulas
You can batch export Metrics with their formulas as follows:
Select All Blocks in the left sidebar.
Select Export in the top toolbar.
From the dialog that opens, select All Metrics.
The output is a searchable CSV file containing a column with all the Metrics’ formulas. This allows you to search for keywords in your Metric formulas.
ℹ️ Note
The Export button is also available from folders that you open within All Blocks. Selecting All Metrics only exports Metrics within that folder.