Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
ecabanas
Creator II
Creator II

Accumulative Field

Hi all,

I have a table with the number of lines of each product. = Count(line)   Dimension ItemId

I wanna know the accumulative number of lines in number and %

Any suggestion?

2016-01-28_16h13_01.png

Many thanks

1 Solution

Accepted Solutions
sunny_talwar

Ended up using expressions to do the accumulation

1) RangeSum(Above(TOTAL Count(SalesId), 0, RowNo(TOTAL)))

2) RangeSum(Above(TOTAL Count(SalesId), 0, RowNo(TOTAL)))/Sum(TOTAL Aggr(Count(SalesId), ItemId, name))

Capture.PNG

View solution in original post

6 Replies
sunny_talwar

For Accumulation try using Full Accumulation option within the expressions tab:

Capture.PNG

For % Accumulation try full accumulation + Relative checked on expression tab:

Capture.PNG

ecabanas
Creator II
Creator II
Author

Hi Sunny

I already tryied this but did not work

sunny_talwar

Would you be able to share a sample?

ecabanas
Creator II
Creator II
Author

Here it is

Many thank's

sunny_talwar

Ended up using expressions to do the accumulation

1) RangeSum(Above(TOTAL Count(SalesId), 0, RowNo(TOTAL)))

2) RangeSum(Above(TOTAL Count(SalesId), 0, RowNo(TOTAL)))/Sum(TOTAL Aggr(Count(SalesId), ItemId, name))

Capture.PNG

ecabanas
Creator II
Creator II
Author

WOWWWWWW

Bravo!!!

Many many thank's