Cumulative percentage metric

I have this dynamic table:

´

I have defined the metric “Nº Tarjetas usadas acumulado” like runningSum(sum({Nº Tarjetas Usadas}),[{Orden rangos días} ASC],)

And the metric “Porcentaje Tarjetas Usadas” like percentOfTotal(sum({Nº Tarjetas Usadas}))

I would like to define a new metric: “Porcentaje acumulado Tarjetas Usadas” or “cumulative percentage metric” in red. How can I define this metric of cumulative percentage?

Thanks in advance

1 Like

Hello @edcaso, I believe if we utilize sumOver aggregations within the runningSum function, we can manage this expectation. The percent of total might be able to be utilized as well, but this is how I would calculate it:
Cumulative Percentage Metric

You can find my example calculations in the above Arena dashboard. Let me know if you have any questions!

1 Like

Thank you very much @DylanM.

I have managed to calculate the cumulative percentage metric with your help and advice (and your example in the Arena dashboard)

1 Like

Hello @edcaso, thank you for following up! I am glad that resolved the issue.