My table has dates and IDs. I am trying to create a rolling 30 day total count for each ID. The goal is to identify instances of an ID coming up 4 or more times within any 30 day period. So it is not specific to an month, rather any 30 day period.
Attached is a dummy data file. For example, you can see ID 109 has more than one 4+ instances within separate 30 day rolling periods. I am also attaching a full calendar (I thought I would have to create that first and merge the data together to get full years because dates are missing where there is no ID associated with it.
Second question, is it possible to do this where it will ignore certain dates.
Thank you