Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
bartwelvaarts
Contributor III
Contributor III

Iterate trough fields to find the related value of a sum

 

Hi there,

I have a situation where i have one expeditionID that is related related to multiple orders.
I want to calculate the time when the the latest expedition for a particular order is finished, based on the sum of the amount and the earliest date.
So i want to calcultate the amount, when this amount is reached, i want to know what timestamp is related to this (timehandled) when the amount is reached.
this timestamp needs to be added to the order with the lowest timeprocessed date.
Then i want to continue calculating the sum of the amount for the next order, but starting from next timeHandled timestamp.

I wanted to loop trough the amount and check when the amount is reached, but i do not know exactly how to do this

Are there any suggestions how i could implement this in the Qliksense script?

Thanks in advance!

bartwelvaarts_1-1597995791278.png

 

0 Replies