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

Announcements
Search may be unavailable 11:30 PM on Aug 24 to 1:30 AM on Aug 25. Thank you for your patience.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Previous in script

Hey Guys,

What does  the below script does with previous function?

test:

LOAD * Resident test_temp

where Previous(ID)<>(ID)

order by

, Order_date desc

Labels (1)
2 Replies
MarcoWedel
MVP
MVP

It loads each row where ID is different from the previous row when sorted by code and order_date descending.

BalaBhaskar_Qlik
Master
Master

Data sorted by Code, Order_Date in descending & Comparing the Previous ID value with the Current ID. If the IDs are different it loads, else skip.