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

Cumulative Net Stock Calculation

Hello All,

Thanks for all your support for previous responses.

I am trying to find cumulative Net Stock value using the below formula.

 

FormulaDelivered+(Closing-Opening)
DeliveredSum(Delivered for the whole year)
Closingsum(Closing for the whole year)
Opening

It will remain constant for all months i.e. March'17 value

In the calculation, my opening stock balance will remain constant for all the month. Lets Assume, I am in the month of January'18 & want to see the data YTD December'17. Here;

Delivered = 99(cumulative value)

Closing = 606

Opening = 100

Net Stock = Delivered + (Closing - Opening)

hence Net Stock = 99+(606-100)

Therefore Net Stock = 605.


Similar to above example, I want to apply the same approach to each month.


Attached is the sample with formula & output looking at.

Kindly assist with the same.

5 Replies
YoussefBelloum
Champion
Champion

Hi,

would you be able to describe the expected output ?

khan_imran
Creator II
Creator II
Author

Expected output is already there in the attached excel.

kakani87
Specialist
Specialist

Something like this ?

Rolling_total.png !

khan_imran
Creator II
Creator II
Author

The output must be as mentioned below; 

MonthApr'17May'17Jun'17Jul'17Aug'17Sep'17Aug'17Sep'17Oct'17Nov'17Dec'17
Toy50101153206260315371428486545605
kakani87
Specialist
Specialist

Like this?

Rolling_total.png