Spread function

Grafana version : 10.10

I am using the spread function to analyse power consumption profile.
The data show 0 at all time. Using null or previous resulted to same result.
Does anyone encounter this before?
What is the solution?

Below attached screenshot of the current panel.

I expect the reading to be like below picture

Looks like you are using InfluxQL? Can you share the InfluxQL query in raw format by clicking the pencil?