Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
theboss-123
Creator II
Creator II

Calculating sum QTY between today and selectionned date

Hi I'm working on associated script to calculating the sum of qty between the field "today" and the selectionned date "IPTDATE" For example when I select 10/05/2022 it will calculated stock based on all movement occured between today "21/05/2022" and "10/05/2022"

Thanks for ur help

Labels (1)
2 Replies
theboss-123
Creator II
Creator II
Author

  1. To clarify the idea for a bit I have movement of income and outcome for a specified item and I want to calculate some of qty of all income and soustract all outcome 

For example if the curent stock is 100 and when I select 10/05/2022 the system shall 100-(sum((20+30)+

(- 24+(-40))

N.B:delivery and outcome are negative value

 

 

vinieme12
Champion III
Champion III

please post some sample data that best represents your actual data

and also expected output and also some explanation on how the required output  is to be evaluated

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.