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: 
gireesh1216
Creator II
Creator II

Need Help (Previous month tickets add in current month)

Hello Team,

I have  data like this:

LOAD * Inline [

Date,LOB,Pending

Jan2018,A,10

Jan2018,B,14

Jan2018,C,5

Jan2018,D,6

Feb2018,A,11

Feb2018,B,7

Feb2018,C,4

Feb2018,D,9

Mar2018,A,12

Mar2018,B,7

Mar2018,C,4

Mar2018,D,9

];


Calculation:

In Jan2018 A LOB Pending Tickets is 10

In Feb2018 A LOB Pending Tickets Is 10+11=21(Jan2018 Pending+Feb2018 Pending)

In Mar2018 A LOB Pending Tickets is 10+11+12=33(Jan2018 pending+Feb2018 Pending+Mar2018 Pending)

........Same for other LOB as well....


How to achieve this in qlikivew?


Expected Results:

pending.PNG

2 Replies
Gopi_E
Creator II
Creator II

Hi Gireesh,

Dimensions are Date in X-Axis and LOB as a Y-Axis

Just put expression as Sum(Pending)

then you should select Accumulate option under Expression tab -> Accumulation

Capture.PNG

I think this is you are expecting

Capture.PNG

Regards,

Gopi

jyothish8807
Master II
Master II

Hi Gireesh,

If you do not want to use the "Accumulte" option , then you can try this expression as well.

rangesum(above(Sum(Pending),0,rowno()))

Br,

KC

Best Regards,
KC