I have time-series data that follows no predictable entries. For example as below.
| Date | Units |
|---|---|
| 01 Jan 2022 | 1 |
| 05 Jan 2022 | 2 |
| 08 Jan 2022 | 1 |
| 30 Jan 2022 | 1 |
| 04 Feb 2022 | 1 |
| 10 Feb 2022 | 1 |
| 13 Feb 2022 | 2 |
| 28 Feb 2022 | 1 |
| 07 Mar 2022 | 3 |
| 14 Mar 2022 | 1 |
| 23 Mar 2022 | 1 |
| 28 Mar 2022 | 3 |
What I want to do here is I want to add a sum to particular date. Expected output looks something below this.
| Date | Total Units till that date |
|---|---|
| 01 Jan 2022 | ? |
| 15 Jan 2022 | ? |
| 01 Feb 2022 | ? |
| 15 Feb 2022 | ? |
| 01 Mar 2022 | ? |
| 15 Mar 2022 | ? |
Now, I don't want to add all the dummy entries for missing dates in input table (because data is going to be huge)
Is there any way I can create a summary like this?