Hi,
Note- kperiod is financial period so 20201 is April.
In the below example i have rev for each period, however i only want the to take forward the latest month end. so from 202101 to 202110 then when feb ends it would add feb rev to it.

I know it will be true/ false criteria but struggling to place in a computation in for that.
What would be the approach please
Many thanks