I have set StartDate and EndDate and now it works. Thank you very much!