Discussion board where members can get started with Qlik Sense.
I require some assistance on the best way to get a total stock count by month-end for each month.
Below are two tables I have which show stock in and stock out. I am unsure as to how the SQL should be written in Qlik Sense data load editor to accurately display stock count for each month end.
Calculation of the stock at end of the month: =Previous month stock - stockout + stockin
The output I would like:
Thank you in advance for any responses.
Why is TotalStock all question mark? Do you know what are the exact numbers you need to get?
Add a master calendar (Master Calendar Generation Script) to provide easy access to Year and Month of each date...
then your total would be Sum(TotalQty), Qlik will figure it out for you for each row of your Year / Month in the table.