just to clarify, are you trying to calculate the number of consecutive days an issue has occurred for a specific well using Spotfire expressions?