Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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 (3)
1 Reply