Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
ramkrishna86
Creator II
Creator II

Cumulative sum in qliksense Bar Chart with two dimensions

Hello Guys,

Could you please help me how to calculate cumulative sum in qlik sense bar chart with 2 Dimensions.

This expression only works for 1 dimension:

rangesum( above( sum([Expression1]),0,rowno()))


I have data like below table where MonthName and Industry are dimensions in chart and Amount is Measure.


   

MonthNameIndustry       Amount       Year
JanAA1002015
FebBB2002015
MarCC3002015
AprDD4002015
MayEE5002015
JunFF6002015
JulGG7002015
AugHH8002015
SepII9002015
OctJJ10002015
NovKK11002015
DecLL12002015

Your help is really appreciated.

Thanks,

Ram Krishna

14 Replies
sunny_talwar

But in your sample, your industry never repeats. There is a new industry name in all different months. I guess can you update the sample and provide the numerical output for each month?

ramkrishna86
Creator II
Creator II
Author

This is a sample data loaded through inline table.

sunny_talwar

Sure, but why is there no industry repeating for more than a month? Do you get what I am trying to say

ramkrishna86
Creator II
Creator II
Author

Industry can repeat, I have attached updated file with repeated industry.

sunny_talwar

Here you go.... You will need to do some script manipulation to get this to work

Capture.PNG