Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

how to Reference previous row in same column

I have one column like this   City A A B C C   and my requirement is if previous(city)=city then 0 else city and first one should be  0   So output   city     Column A         0 A     ...