Back to List
Placeholder | Replace With |
computation_var | A repeated Computation variable |
Using the sum expression, you can add computation values that have been repeated.
For example, let's say you have a repeated dialog that contains three variables—ItemName, ItemAmount, and ItemQuantity. For each line item, you create a fourth variable, a computation called TotalAmount that multiplies ItemAmount by the number of items the user purchases (or ItemQuantity). You can then add all of the TotalAmount values and receive one sum total:
sum( TotalAmount )
Back to List