Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

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

Tags (1)
2 Replies
johanlindell
Contributor II

Re: A cumulative expression

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
Contributor II

Re: A cumulative expression

Community Browser