Sum
sum
Returns the sum of all row values for a column.
Syntax
sum(columnName)
Arguments
columnName: Is the name of a column in the data table.
Return type
number
Examples
//calculate the sum of ClassBudget, class 1 has
number s = sum(ClassBudget) where (ClassId == 1);
Availability
Version 4.8