The Absolute Result property is set to by default. That means the displacement is measured relative to a fixed point on ground and so includes the base motion.
As needed, change the value to if you want to measure displacement relative to the base.

You need to clean up your input data. Subtract the linear trend from the input data so the trailing data remains flat. Reply with a link to your input data and I can help you with that.