Hi,
In the below data I want the Month to date revenue to be a running total but i want that running total to reset whenever the territory code changes.
The territory code would appear again for June, so not sure if that needs to be taken into account or not.

Thank you very much