Forum Discussion
Hi @dipanjan.pan,
I hope this will help you 🙂
SnapLogic_Community_2021_05_31.slp (7.2 KB)Regards.
- dipanjan_pan5 years agoNew Contributor
Thanks a lot @viktor_n …it works
Hi Dipanjan,
You can use the string method charCodeAt
e,g
($Column1.toLowerCase().charCodeAt(0) - 97) + 1
I’m not understanding your example. If Column 2 is supposed to be your rownum() value, why wouldn’t the values be 1, 2, 3, 4, 5 instead of 1, 1, 1, 2, 3?
- dipanjan_pan5 years agoNew Contributor
rownum based on some partition by column. In this case I want the output based on column 1. thats why it is 1,1,1,2,3
Related Content
- 3 years ago
- 8 years ago
- 2 years ago