Accumulated sum within each hierarchy group (as a column)

  • Type: Inserted as a column
  • Description: Calculates an accumulated sum of values from first row to each row, within each hierarchy group, in last column.
  • Range:
    • Columns: Last column
    • Rows: From first row to each row (siblings)
    • Measures: First measure
  • Syntax:
sum(d-1, d1:0(s), m1)
  • Sample crosstab:

 

Example

In the table above we want to accumulate the values within each year.

This is done by adding the Accumulated sum from the top within hierarchy level (column).

Now the table looks like this:

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.