How to add custom Accumulators to your reports
This guide describes how to add custom accumulators to your report results.
Setup
To add an accumulator variable to a report follow these steps:
1. Make a copy of your report if you are using a standard report. Otherwise, simply edit your current report in Site Admin (Legacy) > Reporting.
2. Add your accumulator in any row or column, using the following syntax:
$AccumulatorValue([VARIABLE_NAME], [UserID], [SamplingStart])
for example $AccumulatorValue([Odometer], [UserID], [SamplingStart])
If your custom accumulator is called Driving today, the result should be:
$AccumulatorValue([Driving today], [UserID], [SamplingStart])
3. Save the report.
Now your custom accumulator is ready to be used in the report.