Can't Sum


Why the math.sum is didn’t work? Is it because the list have empty values? The parameter is “number” parameter. Thanks.
Warning: Math.Sum expects argument type(s) (double), but was called with (var).

Replace the empty values with 0s or remove them.

To filter them I would use something like this, but I’m sure other good solutions exist:

1 Like

Do a quick check to see if it’s a number.

1 Like