Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Cumulative values over the second dimension

Hello everyone,

I am facing a problem in a curve chart with 2 dimensions when I want to have cumulative values over the second dimension.

Let me explain :

Dim1Dim2Value1
Value2
A01010
B0510+5 = 15
B122
C0810+5+8 = 23
C1202+20 = 22
C22525

I tried the RangeSum/Above stuff but it only works if I want cumulative values over the first dimension. Moreover, I can't swap the dimensions because of the curve chart.

Thanks in advance for your help !

Damien

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Damien

Here's my best shot. I used a Pick expression to accumulate for each value of Dim2. The pick expression is compted dynamically from a unique list of Dim2 values.

Have a look at the attached - I think it does what you need.

Regards

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

4 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

Have you tried Above(TOTAL ....)? This will ignore the second dimension.

Regards

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

Hi Jonathan,

Using Above(TOTAL) , I get :

Dim1Dim2Value1
Value2
A01010
B0510+5 = 15
B1210+5+2 = 17
C0810+5+2+8 =35
C12010+5+2+8+20 = 55
C22510+5+2+8+20+25=80

Which is not exactly what I want. I need to keep accumulating datas over the second dimension.

Damien

jonathandienst
Partner - Champion III
Partner - Champion III

Damien

I missed that point in your original post. Will have to think about it...

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
jonathandienst
Partner - Champion III
Partner - Champion III

Damien

Here's my best shot. I used a Pick expression to accumulate for each value of Dim2. The pick expression is compted dynamically from a unique list of Dim2 values.

Have a look at the attached - I think it does what you need.

Regards

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein