total

Returns the total value of selected data items. Distinct is an alternative expression that is compatible with earlier versions of the product. This function appears in the Budget vs. Actual sample report in the GO Data Warehouse (analysis) package.

Syntax

total ( [ distinct ] expression [ auto ] )
total ( [ distinct ] expression for [ all|any ] expression { ,
 expression } )
total ( [ distinct ] expression for report )

Example

total ( Sales )

Result

Returns the total value of all Sales values.