I am in the need of counting Consecutive Days for Patients Blood Glucose Checks. I need to know any instance of consecutive Dates >3 consecutive dates. But if there are more that 1 instance of that, just count it as 1 instance, not each time there is a consecutive days >3.
Table A Patient_ID Date_DateA 1/1/2018A 1/2/2018A 1/3/2018A 1/4/2018A 1/5/2018A 1/8/2018A 1/9/2018A 1/10/2018A 1/11/2018B 1/1/2018B 1/2/2018B 1/3/2018B 1/4/2018C 1/1/2018C 1/2/2018C 1/3/2018Output Patient_ID # Instances Consec DatesA 1B 1C 0