Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Help with rangesum - cumulative stacked bar chart

Hi All,

I'm trying to work with rangesum, but I'm having difficulties.  Here is the data that I'm loading into QlikView.

MonthUserValue
1/1/2013Chris30
1/2/2013Chris50
1/2/2013James35
1/3/2013Chris80

I'm currently using

rangesum

(above(total sum(Value), 0, rowno(Total)))

My output is a stacked bar chart that should look the attached picture I created in Paint.

I also attached the qvw I'm using and the xlsx.

Thanks!

6 Replies
Not applicable
Author

Try rangesum(sum(value),0,RowNo()); rangesum(sum(value),0,NoOfRows()) would probably work too if it just stops when it gets to the top.

Not applicable
Author

Didn't work.

shree909
Partner - Specialist II
Partner - Specialist II

Hi  I am not sure..

The other way is create  2 bar charts one with  values inside the chart and the other with total values. make one of them as transaparent  and  stack two charts together.. or one over the other..

Thanks

Not applicable
Author

See attached.

Not applicable
Author

Thanks, this is very helpful.  The only problem is that I actually have MANY users and is prone to changes.  I cannot hardcode every User in.

Not applicable
Author

That's unfortunate. I don't know how else to do it, then.