Return to: Calculated Member Builder Function List
Returns the sum of a numeric expression evaluated over a set.
Sum(«Set»[, «Numeric Expression»])
Sum({USA, CANADA, MEXICO}, Sales.VALUE)
returns 6000 if their respective Sales are 1000, 2000, and 3000. This can also be written in a more intuitive way as
Sum({USA, CANADA, MEXICO}, Sales).