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: 
Not applicable

A cumulative expression

Hello everyone I need a little bit of help.

I have a the below chart that compares the successes and rejections when someone arrives. I want to add an expression that gives me the % rejection of the cumulative values. For example, if I am looking at the week of October 12th I want it to divide 498/(498+3942)= 11.2%, then if I look at the week of October 19th it divides the cummulatives 526/(526+4014)=11.59%. I know it has to deal with a rangesum, but I cant come up with the correct formula. Any help would be much appreciated!

Image-1.JPG.jpg

2 Replies
johanlindell
Partner - Creator II
Partner - Creator II

You can use the Above/Below and/or Previous/Next functions to read the result from previous value. Something like

[Current Value] / ([Current Value] / Above([Aggregated Value])).

If you change you "chart" to a table and make a column you can test which function gives the the right result. Depends a bit on how your dimensions are set up (if you have more than one).

//Johan

mr_novice
Creator II
Creator II