The calculation has to be made on Team Availability, taking a value of 96000 reduces the current Time Required value and display in the next row in Team Availability, the recent Team Availability value must be taken for next subtraction with Time Required can be displayed in the next row in Team Availability, so it continues for all Time Required valued.
The last image is the expected one,
Help me to rectify my doubt and share the query
| streamstats last(TimeRequired) as previousTimeUsed window=2 current=f
| streamstats sum(previousTimeUsed) as cumulativeUsage
| fillnull value=0 cumulativeUsage
| eval TeamAvailability=96000-cumulativeUsage
| streamstats last(TimeRequired) as previousTimeUsed window=2 current=f
| streamstats sum(previousTimeUsed) as cumulativeUsage
| fillnull value=0 cumulativeUsage
| eval TeamAvailability=96000-cumulativeUsage
It works, Thanks