Hello All,
Can you please help me in achieving below scenario in OBIEE.
I have to compare current column in a row, with column in next row.
For Example: In below table 1st 3 rows is having same ID 100, I need to compare 1st row with 2nd if it is same then the expected column should show value 0 and if it is different just like if you compare 3rd and 4th row Expected column should display as 1. Please let me know if there is a way to get this.
| ID | Expected |
| 100 | 0 |
| 100 | 0 |
| 100 | 1 |
| 200 | 1 |
| 300 | 0 |
| 300 | 1 |
Thanks