how to bring previous value by using value ?? could someone help me please.
this solution is not working , we need to take considertation of time as well .. could you please provide any other solution
| sort 0 _time
| streamstats window=1 current=f values(value) as previousValue
| reverse
It looks like you want the value from the next event not the previous (although this does represent the previous in time looking at your data).
| reverse
| streamstats window=1 current=f values(value) as previousValue
| reverse