Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
jozef_klimo
Contributor
Contributor

How to check next field value

Hi all,

I have following table..

and I need figure out how to check next value

If value is 150 and next value is 160 then [Result] must be 0

If value is 150 and after is something else value from field [Time] must stay same also in field [Result].

IDDescriptionTimeResult
130SMT1,141,14
110Prehandling3,043,01
150Manual assembly8,440
160Wave soldering1,40
180Quality Control1,81,8
290Other testing1,51,5
150Manual assembly0,350,35
220ICT0,70,7
1 Reply
sunny_talwar

I guess you will need to sort in descending order because you cannot check next value in the script, but you can check the previous value using Peek/Previous but use descending sort order