Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
chinnu123
Creator
Creator

Need help on converting SQl code to qlik code

Hi Team,

Please help in converting below sql code to qlik

select Status,

lag(Status) over (partition by Incident_Id order by ROW_UPDATE_DATE) previous_Status

ROW_UPDATE_DATE

from TableA

3 Replies
Anil_Babu_Samineni

Look for Previous ‒ QlikView

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
chinnu123
Creator
Creator
Author

Hi Anil,

Thanks for your quick reply,

I tried by using previous but I don't know I am missing something So can you please share the  expresion by using preivious

Thanks,

Chinnu

Anil_Babu_Samineni

In fact, SQL also works with QIX engine. You can just copy and run. or else Peek() vs Previous() – When to Use Each

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)