Two panels with same data but different timeframe

I’m running Grafana 7.5.7 with InfluxDB 2.0 showing data from my weather station. One panel shows the barometric pressure over the last six hours. Works fine.
I tried to create another panel with the same query but with the timeframe set for two days and it works for a moment. First time the dashboard does an update, both panels switch to the same timeframe.

Any thoughts on what I need to do to get this to work?

You might have used $timeFilter in your query.
Instead use WHERE time between now() AND now()-6h for barometric pressure
use WHERE time between now() and now()-2d for 2nd panel

That makes sense. I’ll give it a shot.