Hi,
I am looking for some assistance with an arcade expression to use on ArcPro to find the percentage change of a dataset month by month.
I have provided an example dataset below.
| Location | Grand Total | Date |
| London | 2 | Dec_2021 |
| New York | 7 | Dec_2021 |
| Paris | 8 | Dec_2021 |
| London | 3 | Nov_2021 |
| New York | 7 | Nov_2021 |
| Paris | 3 | Nov_2021 |
| London | 1 | Oct_2021 |
| New York | 4 | Oct_2021 |
| Paris | 9 | Oct_2021 |
I believe the result should be as below
| Location | Grand Total | Date | Percentage change (%) |
| London | 2 | Dec_2021 | -33.33 |
| New York | 7 | Dec_2021 | 0 |
| Paris | 8 | Dec_2021 | 167.67 |
| London | 3 | Nov_2021 | 200 |
| New York | 7 | Nov_2021 | 75 |
| Paris | 3 | Nov_2021 | -66.67 |
| London | 1 | Oct_2021 | n/a |
| New York | 4 | Oct_2021 | n/a |
| Paris | 9 | Oct_2021 | n/a |
The general formula I used is below, but looking for a way to automate this as I have thousands of rows of data
((Nov_2021)-(Dec_2021))/(Nov_2021))*100
Many thanks