Numeric Composite Sum of Variable

Does anyone have  a workflow to sum a variable when making a numeric composite. The numeric composite give the average over the interval however, I have a variable that I want the sum over the interval.
Thanks