Hello,
I have been trying to create a running total data expression using the following example: Solved: Cumulative Chart With Arcade Expression - Esri Community. However, I would like the running total to be on both year and month. As a result, I been trying to modify the example arcade script to include two loops, one for year and one for month. Unfortunately, I can't seem to get it. Any suggestions?
Example Data:
Year | Monthabb | incidentcount |
2023 | 01-Jan | 1 |
2023 | 02-Feb | 1 |
Arcade:
When you say "can't get it right" what is it doing that tells you that, does it produce an error or just produces nothing? If it produces an error, could you link it here?
Cody