Good Day All,
I am new to Alteryx and trying to figure out how to compare consecutive rows from a individual column and then give 0 if it matches and 1 if no match.
example:
reference number
| 1422632 | |
| 1422632 | |
| 1414505 | |
| 1420044 | |
| 1420044 | |
| 1420044 | |
| 1413297 | |
| 1413297 | |
| 1413297 | |
| 1417531 | |
then get a output that looks like below.
| 1422632 | 0 |
| 1422632 | 1 |
| 1414505 | 1 |
| 1420044 | 0 |
| 1420044 | 0 |
| 1420044 | 1 |
| 1413297 | 0 |
| 1413297 | 0 |
| 1413297 | 1 |
| 1417531 | 1 |