Totals

The following functions are available when calculating a total across multiple rows/groups of data:

Adding Totals

_AddTotal([NAME],[AMOUNT])

Parameters

#TypePassingDefaultNameDescription/Comments
1stringrequiredn/aNAMEThe name to identify the total
2decimalrequiredn/aAMOUNTThe amount to add to the totals

Examples

{{_AddTotal("Amount1",ALIAS.PRICEASK)}}

Getting Totals

_GetTotal([NAME],[FORMAT],[GROUP_LEVEL])

Parameters

#TypePassingDefaultNameDescription/Comments
1stringrequiredn/aNAMEThe name to identify the total
2stringoptional#.##FORMATThe format of the number
3booleanoptionaltrueGROUP_LEVELWhether requesting the total for the grouped amounts or total amounts across all groups.

Examples

{{_GetTotal("Amount1","{0:C}")}}

Clearing Totals

_ClearTotals([NAME],[GROUP_LEVEL])

Parameters

#TypePassingDefaultNameDescription/Comments
1stringoptionaln/aNAMEThe name to identify the total, or empty to clear all totals.
2booleanoptionaltrueGROUP_LEVELWhether clearing the group or global totals.

Examples

{{_ClearTotals("Amount1")}}

*NOTEThe output system automatically clears the group totals across each output group.