I wish to mark the first occurrence of a value as 1 and every consecutive occurrence as 0 so I remove the values containing 0 flag. I tried using the multi row formula tool but that didn't work.
if [row-1:Gross AUM] = [Gross AUM] else iif([row-1:Gross AUM]),1,0) endif
I have data in the form:
| h1 |
| 123 |
| 123 |
| 123 |
| 123 |
| 123 |
| 123 |
| 456 |
| 456 |
| 456 |
| 456 |
| 456 |
| 456 |
| 456 |
| 456 |
| 789 |
| 789 |
| 789 |
| 789 |
| 789 |
and I wish to get it in the form:
| h1 |
| 123 |
| 123 |
| 123 |
| 123 |
| 123 |
| 123 |
| 456 |
| 456 |
| 456 |
| 456 |
| 456 |
| 456 |
| 456 |
| 456 |
| 789 |
| 789 |
| 789 |
| 789 |
| 789 |