It could be the merge which is getting you. I have never seen it implemented very well.
Looking at your screen shot you are not doing it right.
In your formula where you have sum(Checkin) when you select the checkin field, doulbe click it in the formula builder. In that window select Filter from the lower left. Then you can say which Checkin Values to include.