In that case, did you mention all the fields you are using in the report? As i cant see the Calender date fields in the image but you are using them in the formula. Sorry I am not able to collect how your data might look like. If I have the data for all together then I can tell what should be done. Hope you got me.
-Ankush