Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Cumulative Values in Pivot - Acumulating Specific Dimensions

Hi Folks

I have a pivot Table with Month & Business Unit as dimensions.

I have a Capital Amount value for each month.

I then want a cumulative capital amount column, but it must accumulate for the specific business unit.

EG:

MonthBUCapital$Cum Capital
1Global100100
1Inv Bank200200
1Retail150150
2Global220320
2Inv Bank130330
2Retail450600
3Global300620Cumulative sum of Global
3Inv Bank220550Cumulative sum of Inv Bank
3Retail180780Cumulative sum of Retail


Any help would be appreciated.

Labels (1)
1 Reply
johnw
Champion III
Champion III

You could generate an AsOf table:

AsOfMonth, AccumulationType, Month
1, Capital, 1
2, Capital, 2
3, Capital, 3
1, Cumulative Capital, 1
2, Cumulative Capital, 1
2, Cumulative Capital, 2
3, Cumulative Capital, 1
3, Cumulative Capital, 2
3, Cumulative Capital, 3

Use AsOfMonth in place of Month as the first dimension. Add AccumulationType as the third dimension. Sum(CapitalAmount).