How to: Create calculated metrics in PowerMetrics

How to Create a Calculated Metric in Powermetrics
Jon TaylorJonathan TaylorPublished 2025-11-07

Summary: PowerMetrics takes a "metrics-first" approach to data and reporting. This enables you to easily perform calculations by combining existing metrics using a simple formula. This article will walk you through the process of creating calculated metrics in PowerMetrics.

Data can be messy. Sometimes, a simple question results in a complex, winding path—along the way, we lose sight of the answer we are seeking. Data scientists are known to joke that 80% of their time is spent cleaning data and 20% of their time complaining about data cleansing.

There is truth to that statement. Data requires cleansing, normalization, and standardization to be business user ready. And those business users—executives, directors, managers, and individual contributors—aren’t after ‘data.’ They are after insights.

PowerMetrics takes a "metrics-first" approach to data and reporting. All metrics in PowerMetrics are standardized objects and uniformly formatted. As an example, all metrics have the ability to store data history even if the underlying data source doesn't provide any historical data. This allows for apples-to-apples comparison regardless of the underlying shape of the data source itself.

For example, when you extract Instagram Followers from the Instagram Business API, it is returned as a current value without a date range. The API doesn’t provide historical context. When you create an Instagram Business Followers metric in PowerMetrics, we ingest that data and use data history to store that value over time. We start storing your Instagram Followers' data history the day you create your metric.

If the data history is available by default from a service, PowerMetrics makes the most of that data and displays your history based on what is available from your data source. Data history allows you to compare two metrics over the same time period or create calculated metrics.

Metrics are building blocks

Metrics are building blocks for your analytics. Each metric is built using a data source, but a data source can take many different forms (Instant, Custom Data Feed, Data Warehouse, or Semantic Layer). This is where the value of standardized metrics comes into play. When your metrics are standardized, they will ‘play well with others,’ so to speak.

You might run into this in your day-to-day business reporting. Some of the most important metrics you’ll monitor use multiple metrics in a calculation. For example, you need to have your Customer Acquisition Cost (CAC) and Lifetime Value (LTV) in order to calculate your CAC:LTV ratio. In marketing, almost all your key conversion ratios are calculated using metrics derived from different services—such as using Google Analytics and HubSpot data to calculate your Session to Lead conversion rate.

While the shape of the data itself changes over time, our approach uses a dynamic, standardized model to update, store, and compare your data. This means that the underlying data in your metrics, regardless of the data source, work together to give you the insights you need to make better business decisions.

Let’s take a deeper look at calculated metrics in PowerMetrics.

PowerMetrics LogoLevel up data-driven decision making

Make metric analysis easy for everyone

Gradient Pm 2024

Creating calculated metrics in PowerMetrics

Calculated metrics combine metric values using an equation (with simple math—addition, subtraction, multiplication, and division) to create a metric that can be expressed as a number, a percentage, or a ratio.

To create a calculated metric, you first need to create individual metrics in your PowerMetrics account. If you’re not sure where to start, check out MetricHQ and browse the services which currently support instant metrics. All you need to get started with instant metrics is your login credentials and a few minutes to decide what to track.

The process of creating a calculated metric is simple and straightforward. To start, in the left navigation sidebar click the + button beside Metrics and select New calculated metric.

Pm New Calculated Metric

Next, you will be brought to the formula screen, where you will be able to select metrics you have already created. In this example, I’m building a Return Rate metric using two existing metrics - the dollar value of Returns, and the dollar value of Total Sales.

Pm Calc Metric Step1

Key things to note when building a formula:

  • Operators: You can use the following supported operators: +, -, /, *, and ().
  • Numerical Values: You can insert constant numerical values into the formula. When entering a numerical value that's < 1, include a "0" before the decimal point (e.g., enter 0.9, not .9).
  • BEDMAS/PEMDAS rules apply for order of operations.

You can choose to filter data in the metric by dimension directly within the formula editor. For example, you could exclude returns from Partners or only include Direct or Organic sales.

Pm Calc Metric Step2

You will also need to select your display options to ensure the metric is properly rendered. In my example, I want to display the value as a percentage.

Pm Calc Metric Step3

Operators for calculated metrics

When you create calculated metrics you can use operators and parentheses in your formula. BEDMAS rules apply and can help you to precisely calculate metrics. 

You can also insert numeric values into the formula to offset value or to work in conjunction with how your metrics are set up. For example, if you want to display positive values that have a negative context, such as won and lost deals. 

Pm Calc Metric Operators1Pm Calc Metric Operator2

The resulting data visualization is precise and helpful for the entire team, and it tells a story. 

Pm Calc Metric Viz
PowerMetrics LogoLevel up data-driven decision making

Make metric analysis easy for everyone

Gradient Pm 2024

Calculated metrics give you precision and control 

Calculated metrics give you precision and control. Since all metrics are standardized, it’s possible to create a calculated metric from any metric in your PowerMetrics account. Any data history you have stored up in your metric will be included in the calculation and shown in the data visualization view. Common dimensions in your metrics will also be available for filtering and segmentation, inviting everyone in your team to perform deeper analysis. 

The metrics-based approach unlocks capabilities that would otherwise require coding or configuration. Our hope is that it will give you the precision and control you need to make better decisions without having to delve too deep into complex data analysis. Want to learn more about this feature? Our support documentation provides everything you need to be successful. Check out the documentation.