How can i Integrate a rate

I would like to present a counter “without the baselevel”. Let me try to explain. I want to make a graph showing the total_cpu_counter_sec but i want the graph to start from 0 instead of the actual counter value.
I would say that i want to present the integral of the rate.
I feel that it is something pretty simple, but i cannot find a way to do it with a prometheus query.
Is there a grafana feature i can use?

Try range_first() function from MetricsQL:

counter - range_first(counter)

Btw, MetricsQL also supports integrate() function.