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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
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 (2)
1 Reply