โ05-29-2021 03:13 AM
How can I achieve rownum() funtion in Snaplogic?
I have a input data
Column 1
a
b
c
a
a
need output
Column1 Column2
a 1
b 1
c 1
a 2
a 3
How can I achieve this?
โ05-29-2021 01:58 PM
Sorry, can you please explain more specifically what you mean by that? What is the partitioning rule?
โ05-29-2021 10:06 AM
The expression snap.in.totalCount
might be what youโre looking for, but Iโm really not sure based on your example.
โ05-30-2021 04:15 PM
Hi @dipanjan.pan,
I hope this will help you ๐
SnapLogic_Community_2021_05_31.slp (7.2 KB)
Regards.
โ05-30-2021 11:48 PM
Thanks a lot @viktor_n โฆit works