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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
kevbrown
Creator II
Creator II

Accumulation in Pivot

I'm looking to create a pivot table over months that sums a field called "ukmpsmr_risk_prem_by_uw.PBU_NET_USD" to create an accumulation.

Easy?


1 Solution

Accepted Solutions
arulsettu
Master III
Master III

instead of above try before

View solution in original post

6 Replies
arulsettu
Master III
Master III

hi

check this thread

Accumulation for Pivot Table

arulsettu
Master III
Master III

rangesum(above(sum(ukmpsmr_risk_prem_by_uw.PBU_NET_USD), 0 , RowNo())))


like this

kevbrown
Creator II
Creator II
Author

That works if I have Month as rows but i want Month as column headers.

arulsettu
Master III
Master III

instead of above try before

kevbrown
Creator II
Creator II
Author

Superb and changing RowNo to ColumnNo it's worked a treat, thanks

kevbrown
Creator II
Creator II
Author

This is a really stupid question I'm sure, but I require a total column too (which i know will be the same as the most recent date but I'm being asked for it). Surely i can add total to a pivot?