Forum Discussion

ARomain57's avatar
ARomain57
Frequent Visitor
1 year ago

Current Streak Calculation

I am trying to calculate a measure of the streak of data for consents per person. I have tried numerous recommendations from others and the only youtube video I found that is related. However, it only counts the streak of "Yes", so I have been able to do that.


However, I need the streak of Yes AND Nos. I also need to add the filter that Approached must be Yes, as there are other rows where Approached is No. 

NameDateApproachedConsent
Mike1/1/2024YesYes
John1/2/2024YesNo
Andrew1/3/2024YesNo
Andrew1/4/2024YesYes
Mike1/5/2024YesYes
John1/6/2024YesYes
John1/7/2024YesNo

 

Desired Measure Result

NameStreak
Mike2Yes
John1No
Andrew1Yes



I have spent hours trying to figure this out, as it is more complicated than it seemed.