List of calculations

This topic lists and defines calculations used in Grafana.

Among other places, these calculations are used in the Transform tab and the bar gauge, gauge, and stat visualizations.

CalculationDescription
All nullstrue when all values are null
All zerostrue when all values are 0
Change countnumber of times the field’s value changes
Countnumber of values in a field
Deltacumulative change in value
Differencedifference between first and last value of a field
Difference percentpercentage change between first and last value of a field
Distinct countnumber of unique values in a field
First (not null)first, not null value in a field
Maxmaximum value of a field
Meanmean value of all values in a field
Minminimum value of a field
Min (above zero)minimum, positive value of a field
Rangedifference between maximum and minimum values of a field
Stepminimal interval between values of a field
Totalsum of all values in a field