SUM

Syntax:

SUM(NY[..] multi_occurs_field)

 

Return Value:

NY result

 
Precedence:10
Description:

SUM adds the occurrences of a multi-occurs field. If the multi-occurs field is of boolean type, SUM adds the number of TRUE occurrences

 

Example:

SUM(12|3|5) = 20
SUM(TRUE|FALSE|TRUE) = 2