Fill missing rows in column with average values in missing period
I have per ID monthly cumulative counters, where in some months the counters are missing. I would like to fill these missing values up by the monthly average based on the period of missing months.