List.Sum

Syntax

List.Sum(list as list, optional precision as nullable number) as any

About

Returns the sum of the non-null values in the list, list. Returns null if there are no non-null values in the list.

Example 1

Find the sum of the numbers in the list {1, 2, 3}.

List.Sum({1, 2, 3})

6