The Absolute Result property is set to Yes 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 No 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.