2 Replies Latest reply: Oct 15, 2014 2:19 PM by cristian ivanoff

# 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!

• ###### 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

• ###### Re: A cumulative expression

Hi Daniel,