I have a COVID-19 dashboard that needs to show the change in the number of cases since the last report. I have a table with a date field but the reporting isn't daily, so I can't just filter by things like "Today" or "Yesterday" etc. I need to find the max date and second to max date from the report records and report the change and/or rate of change.
The data looks something like this:
| County | NewCasesToday | Date |
| Eaton | 12 | 05/26/2020 |
| Eaton | 10 | 05/27/2020 |
| Eaton | 14 | 05/29/2020 |
| Eaton | 12 | 05/30/2020 |
| Eaton | 3 | 06/3/2020 |
I've used Arcade for simpler calculations, but this one has me stuck. Any help would be most appreciated.