Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

getting cumulative values in graph

hi is there any way to add up on week by week values for example

330                        = 8/2

330+450                 =8/9

330+450+600         =8/16

330+450+600+570  = 8/23

in a line chart

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Yes. The easiest way is to enable the option Full Accumulation for the expression. In a line chart you'd use Week as dimension, sum(Value) as expression and enable full accumulation for the expression.


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
Gysbert_Wassenaar

Yes. The easiest way is to enable the option Full Accumulation for the expression. In a line chart you'd use Week as dimension, sum(Value) as expression and enable full accumulation for the expression.


talk is cheap, supply exceeds demand
Not applicable
Author

Apache,

You should be able to use the "Accumulation" setting on the Expressions tab. Highlight the the expression you wish to accumulate and select Full Accumulation.ScreenClip[5].png

Not applicable
Author

Hi,

With full accumulation, if you want to add a text color, what will be the code used?

If you use IF(SUM(SALES)>0, Green(),Red()) , it does not work because it retrieves the Non-Accumulated value.

If you use IF(Column(2)>0,Green(), Red()) , it still does not work.

How to account for the Accumulation for Text Color Coding when Visual Cues does not exists. (ie for Combo Charts)

Thanks