Functions - Dataview#sumarray

sum(array)

Sums all numeric values in the array. If you have null values in your sum, you can eliminate them via the nonnull function.

sum([1, 2, 3]) = 6
sum([]) = null
 
sum(nonnull([null, 1, 8])) = 9

Printed 2026-06-28.

(echo:: @ )