Sum

The Sum() function calculates the total value of a list of numbers or durations.

This function is SQL compatible. For more information about SQL compatibility, see our documentation.

Syntax

Sum(List(values) or [field] of [list])

Sum(List(1, 2, 5)) =>Result: 8

Sum([Products.Price] of [Products]) => Result: the summation of all Price-value of all products in the list [Products]

Sum() =>Result: unknown

Parameters

Name
Type
Required
Description

values

list

☑️

the list of values of which the sum is calculated. The values can be either numbers or durations.

Last updated

Was this helpful?