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: 
anushahegde
Contributor III
Contributor III

Sql equivalent of qlikview script

Hi all,

I want to know how to write the below statement in SQL. Could anyone help me with this please?

if([Customer Number]=Previous([Customer Number]),Peek('Sequence')+1,1) as [Sequence]

Thanks in advance

Anusha

Labels (1)
1 Reply