We are trying to plot a cumulative graphe of quantities over time, is there a way to use for loops in the graph queries ? or any other way ?

We are trying to plot a cumulative graph of quantities (from a table) over time, is there a way to use for loops in the graph queries ?
or any other way ?

Hi @Franck_Nussbaumer :wave: welcome to our community.
To understand more easily, you try to add a chart from a Dashboard or from Analytics view ?

Hello!
I try to create a chart on the dashboard with a custom sql query yes.

Hello @Franck_Nussbaumer,

From what I understand, the computation you want to do is more of a SQL problem.

Maybe this kind of link will help :

Once your query is ready, just follow this to display it properly: