Interpret your analysis, part 2: Advanced features

AMPLITUDE ACADEMY

Understand User Behavior with the Event Segmentation Chart

Use Amplitude's Event Segmentation chart to learn what drives user behavior.

Learn Event Segmentation

This article explores some more advanced features available to you as you interpret your event segmentation analyses. For a primer on the basics, review part one.

Rolling averages

Rolling averages display the unweighted mean, which smooths out a chart. This is useful if you have cyclical users—for example, people who use your product during the week, but not on weekends.

To apply a rolling average to your chart, click Advanced and select Rolling Average from the drop-down list.

Note

The maximum ranges allowed for a rolling average are 36 five-minute intervals (three hours), 72 hours, 90 days, 12 weeks, or 12 months.

This chart displays the daily event totals, without a rolling average. Notice the sharp peaks and valleys in the line.

No rolling average

But when you add a rolling average of seven days, those fluctuations disappear. That’s because each data point is now an average of the previous seven days’ worth of data.

Rolling average applied

Bear in mind that each day’s data is included in that day’s data point:

  • When looking at the current day, Amplitude uses a dotted line to show data collection for today isn’t finished. Use an Offset in the date picker to exclude the current day from your analysis.
  • Also, with a seven-day rolling average, the first six days of your selected time period fetch data from outside the selected time period. For example, in an analysis covering the month of February, the result for February 6th averages data over January 31st to February 6th.

Rolling windows

A rolling window is another method of smoothing out your data. It displays the aggregate last N days of information in a single data point. This is useful if you want to view aggregated metrics—such as your 7-day active user count—on a daily basis.

This differs from the rolling average, in that a rolling window doesn't average your data over the selected time frame. Instead, it sums the data.

To apply a rolling window to your chart, click Advanced and select Rolling Window from the drop-down list.

Note

The maximum ranges allowed for a rolling window are 36 five-minute intervals (three hours), 72 hours, 90 days, 12 weeks, or 12 months.

This chart displays event totals without a rolling window.

No rolling window

Below, the event totals display with a rolling window of seven days. Each day represents a sum of the previous seven days worth of events.

Seven day rolling window

As with a rolling average, when using a seven-day rolling window, the first six days of your selected time frame fetch data from outside the selected time period. For example, in an analysis covering the month of February, the result for February 6th averages data over January 31st to February 6th.

Cohort filtering

When you select a rolling window, you can specify if aggregation happens before or after Amplitude filters results according to the cohort or cohorts you select.

  • before cohort filter: Amplitude aggregates the event data, then applies the cohort and filters the results.
  • after cohort filter: Amplitude applies the cohort and filters the results, then aggregrates the resulting event data.

Cumulative sum

Cumulative sum displays a running total of events in a single data point. For example, you might want to show a running total of revenue generated by purchase events. Cumulative sum helps you do that.

To apply a cumulative sum to your chart, click Advanced and select Cumulative from the drop-down list.

Note

To use cumulative sum in a formula, click Formula and type CUMSUM.

This chart shows a running total of purchases using the Complete Purchase event. The April 19th data point represents a sum of purchases on all the preceding days of the selected time frame. Here, that means April 5th to April 19th.

interpret_event_seg_2-8.png

Using cumulative sum with uniques generate a count of unique users for each data point, with duplicates removed.

For example:

  • On April 5th, User A triggered Complete Purchase.
  • On April 11th, User A and User B triggered Complete Purchase.
  • On April 19th, User C and User D triggered Complete Purchase.

On the data point for April 19th, Amplitude returns a total count of four because four unique users fired this event from April 5th to April 19th.

Real-time segmentation

View segmentation data in real time. However, there are some caveats:

  • You can only segment one day's worth of data for real-time.
  • Amplitude rounds event times down.
  • Amplitude caches charts every five minutes for all users.

Period-over-period comparison

Use period-over-period comparison to compare the results of your current time range against previous time periods. The comparison control appears in the top-right of the chart, near the datepicker.

To start a comparison, click Previous Period vs. above the chart. This opens the Compare with panel.

Choose a comparison period

Select from the following preset comparison options:

Range Description
Previous day Shifts the comparison window back by one day. For example, if your current range is Mar 25–Mar 27, Amplitude compares against Mar 24–Mar 26.
Previous week Shifts the comparison window back by one week. For example, if your current range is Mar 25–Mar 27, Amplitude compares against Mar 18–Mar 20.
Previous month Shifts the comparison window back by one month. For example, if your current range is Mar 25–Mar 27, Amplitude compares against Feb 25–Feb 24.
Previous quarter Shifts the comparison window back by one quarter. For example, if your current range is Mar 25–Mar 27, Amplitude compares against Dec 25–Dec 27 of the previous quarter.
Previous year Shifts the comparison window back by one year. For example, if your current range is Mar 25–Mar 27, Amplitude compares against Mar 25–Mar 27 of the previous year.

Each preset displays the calculated date range so you can verify the comparison window.

Custom comparison periods

For more control, use the custom period options:

Range Description
Period Starting On Set a fixed start date for the comparison period. Amplitude calculates the end date based on the length of your current time range.
Period Ending On Set a fixed end date for the comparison period. Amplitude calculates the start date based on the length of your current time range.

These options let you compare against specific dates, such as a product launch or campaign start.

Both custom options support a Rolling toggle. When you enable Rolling, the comparison period shifts forward automatically as time passes, keeping the same offset from the current date range. When Rolling is off, the comparison period stays fixed to the exact dates you chose, regardless of when you view the chart.

Compare multiple periods

You can compare up to two previous periods at the same time. Click Add Comparison in the Compare with panel to add a second comparison period. Each comparison period can use a different preset or custom date range.

To remove a comparison, click the X next to the period you want to remove.

View comparison results

Toggle between display modes in the Compare with panel:

  • Absolute values — display the raw metric values for each period
  • Percentage change — display the percentage difference between the current period and each comparison period

Period-over-period for custom formulas

Use period-over-period comparison with the custom formula metric. For example, compare your current rolling average with that of the previous month.

Was this page helpful?

October 16th, 2025

Need help? Contact Support

Visit Amplitude.com

Have a look at the Amplitude Blog

Learn more at Amplitude Academy

© 2026 Amplitude, Inc. All rights reserved. Amplitude is a registered trademark of Amplitude, Inc.