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

Cummulative Sum If with condition

Dear Experts,

We have a Requirement & Stock Table as given below,

ReqTable                                    StockTable

MaterialReqmtMaterialStock
110130
15210
120310
21040
24520
310
410
510

We want to achieve results as given below-

Required Results :-

MaterialReqmtCummulative RequirementAvailableStock
1101030
151520
120355
2101010
24140
3101010
410100
5101020

Tried hard but unable to find out the way.

Please help us with your expertise.

Thanks,

Girish.

1 Solution

Accepted Solutions
maxgro
MVP
MVP

3 Replies
maxgro
MVP
MVP

see attachment

1.png

Not applicable

Hi Girish,

Please see attached. I actually got some help from Massimo on this. Clipboard01.jpg

Cheers!

girish_talele
Creator
Creator
Author

Dear Massimo,

Thanks for quick reply, Issue is resolved.

You were correct the in 3'rd Row of AvailableStock the value should be 15.

Dear Patrick,

Thanks for further help.

Regards,

Girish.