I would like to get the count of consecutive zero values in a pivot table like below. Based on the count I would be setting a status.
The conditions are:
- For a period selected there should be some values before and after the consecutive zeros.
- Count of consecutive zeros should be greater than or equal to 3.
Please refer the snapshot attached.