Grafana shows me identical values in two different panels

Hello everyone
I don’t understand why my two dashboards “Power consumption today” and “Power consumption this week” show the same values.


The code of “Electricity consumption today” looks like this:

import "timezone" // import wegen der Berechnung um 02:00:00
option location = timezone.location(name: "Europe/Berlin")
from(bucket: "DBANDY1")
  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
  |> filter(fn: (r) => r["_measurement"] == "Drucker_gesamt" or r["_measurement"] == "FeFoTV_gesamt" or r["_measurement"] == "Imac_gesamt" or r["_measurement"] == "Kühlschrank_gesamt" or r["_measurement"] == "Router_gesamt" or r["_measurement"] == "Ventilator_gesamt" or r["_measurement"] == "Smart_Kettle_Pro_gesamt")
  |> filter(fn: (r) => r["_field"] == "value")
  |> difference()
  |> aggregateWindow(every: 24h, fn: sum,createEmpty: true)

The code of "Electricity consumption this week looks like this:

import "timezone" // import wegen der Berechnung um 02:00:00
option location = timezone.location(name: "Europe/Berlin")
from(bucket: "DBANDY1")
  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
  |> filter(fn: (r) => r["_measurement"] == "Drucker_gesamt" or r["_measurement"] == "FeFoTV_gesamt" or r["_measurement"] == "Imac_gesamt" or r["_measurement"] == "Kühlschrank_gesamt" or r["_measurement"] == "Router_gesamt" or r["_measurement"] == "Ventilator_gesamt" or r["_measurement"] == "Smart_Kettle_Pro_gesamt")
  |> filter(fn: (r) => r["_field"] == "value")
  |> difference()
  |> aggregateWindow(every: 1d, offset: -3d, fn: sum,createEmpty: true)

Nothing is entered in the query options for “Power consumption today”.
In the “Power consumption this week” is entered in the query options for relative time now/w

I am using Grafana 9.3.2