Hi, This can be possible with optional prompt. For example if my database is oracle then i create my optional propmt(input controls) like if i provide startdate and enddate then it takes these value to the where conditiion, if user not provide values, that is startdate enddate null then my where condition is like Startdate=(next_day(sysdate,'SUN')-7) and Enddate=(next_day(sysdate,'SUN')). similarly use date function of respective database to findout sunday dates. You can manage these two where condition based upon starttdate and enddate input control null or not null. Use P!{} parameter for optional where condition. Hope this may help. Thanks, Ajinkya