Older InfluxDB data to new HA sensor

Hi, i tried ti search but didn’t find a solution to my issue.

I want to populate a new ha sensor with old data from InfluxDB.
As of now i did it (the query fetches data from one week to now) but the new sensor only populates since the time It has been created.

Any idea? Thanks