List.Sum

List.Sum

Returns the sum of the items in the list.

function (list as list, optional precision as nullable any) as nullable any

Description

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

Category

List.Addition

Examples

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

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

6