How can I make a cumulative frequency of a field?

Hello,

Wouldn’t a runningSum do the trick for you?
runningsum(
sum(Frequency),
[{Late Arrival Reason} ASC]
)

You would have to sort your visual by “Late Arrival Reason”.

Note that, in your exemple, I wouldn’t expect the Cumulative Frequency you provide but 25, 42,59, 69,…

Thank you for your feedback, I attach another image, I hope to explain myself better.

I want to make a cumulative frequency of “arrival_status”. It can be possible?

Hello,

Create a calculated field with the following formula:
runningSum(
count(arrival_status),
[arrival_status ASC]
)

and add it to your visual as the value.
Sort your group-by “arrival_status” attribute by arrival_status A-Z.

1 Like

Thank you very much for the support, it helped me a lot

Very glad. My pleasure.