View cumulative metrics over time in Analytics
- Topic
- Analytics
- Source
- Shopify Changelog
- Published
This summary was written by ShopDigest AI from Shopify Changelog’s report. Read the full story ↗
We've added cumulative metrics to Analytics so you can see how your metrics build up over time. When you turn on the Cumulative toggle in the Visualization panel (or add WITH CUMULATIVE_VALUES to your ShopifyQL query), your time-series chart shows a running total instead of individual daily values making it easy to see progress toward a goal or how a metric is trending across a period. Cumulative view works in three ways: With targets: Compare your running total against a target line to see whether you're on pace to hit your goal. Learn more here
Overview
Shopify Analytics now supports cumulative metrics, letting merchants view a running total of a metric over time instead of individual daily values. The feature is enabled via a Cumulative toggle in the Visualization panel or by adding WITH CUMULATIVE_VALUES to a ShopifyQL query. It is designed to make progress toward goals and period-over-period trends easier to see.
Key Details
- Turn on the Cumulative toggle in the Visualization panel to switch a time-series chart to a running total.
- Alternatively, add WITH CUMULATIVE_VALUES to a ShopifyQL query.
- On its own, cumulative view shows how a metric accumulates day by day across a date range.
- With targets, it compares the running total against a target line to show whether you are on pace to hit a goal.
- With prior-period comparisons, it layers in the same period last year or another period to compare trajectories.
Frequently asked questions
How do I turn on cumulative metrics in Shopify Analytics?
Enable the Cumulative toggle in the Visualization panel of Analytics. Alternatively, add WITH CUMULATIVE_VALUES to your ShopifyQL query. Either method changes your time-series chart to show a running total instead of individual daily values.
What does the cumulative view show in a Shopify Analytics chart?
The cumulative view shows a running total of a metric over a date range rather than individual daily values. This makes it easier to see how a metric builds up over time and how it is trending across a period.
Can I compare cumulative metrics against a target in Shopify Analytics?
Yes. With targets, the cumulative view compares your running total against a target line. This shows whether you are on pace to hit your goal.
Can I compare cumulative metrics to a prior period in Shopify Analytics?
Yes. You can layer in a comparison to the same period last year or another period. This lets you spot how the current period's trajectory compares to the prior period.
What ShopifyQL syntax enables cumulative metrics?
Adding WITH CUMULATIVE_VALUES to a ShopifyQL query enables cumulative metrics. This is an alternative to using the Cumulative toggle in the Visualization panel.

