DB2 graphic QMF Version 8

Cumulative sum

Select a column, then select Results--> Grouping and Aggregation--> Cumulative Sum to display the values in the column as a cumulative sum, which is a rolling sum. Each value is added to the value in the row below it. A cumulative summary is presented at the end.

For example, here is a list of values:

 18357.50
 18171.25
 17506.75
=========
54,035.50

Results from a cumulative sum of these values are:

  18357.50
  36528.75
  54035.50
==========
108,921.75


Go to the previous page Go to the next page

Downloads | Library | Support | Support Policy | Terms of use | Feedback
Copyright IBM Corporation 1982,2004 Copyright IBM Corporation 1982, 2004
timestamp Last updated: March, 2004