Hi All,
I am trying to build logic for the below scenario :
Input>>
| Account | Type | Value |
| 1000 | A | 20 |
| 2000 | B | -30 |
| 3000 | A | 10 |
| 4000 | A | 10 |
| 5000 | B | -10 |
Output>>
| Account | Type | Value | Comments |
| 1000 | A | 20 | |
| 2000 | B | -30 | Offset |
| 3000 | A | 10 | |
| 4000 | A | 10 | |
| 5000 | B | -10 | Offset |
Can someone please help with this?
Regards