Filter/damp buggy values to smooth values in every tick


is it possible to filter or damp a value? My problem is that some values are very buggy and I need them smooth. In the picture you can see that in some ticks the value is “wrong”.
I hope everyone understand what I mean.