I have a required query that if i hard code a beginning date works exactly. When I substitute the correctly defined Date parameter, JR cannot parse or breaks the query string. (amended) I see that the virtualizer is optional and returns null on even successful runs for functioning reports. The query is this: select floor((start_time - to_date('2007-01-01', 'YYYY-MM-DD'))/7) as week_no, sum(run_count) as run_count, from X where id = 100 and start_time between to_date('2007-01-01', 'YYYY-MM-DD') and to_date('2007-02-01', 'YYYY-MM-DD') group by floor((start_time - to_date('2007-01-01', 'YYYY-MM-DD'))/7) (removed xtra cols to simplify.) I am trying to substitute the expression to_date('2007-01-01', 'YYYY-MM-DD') with the date paramter. It appears that somehow the parsing of the query string just breaks down. Is it possible for me to do this? Why is the query string not parsed correctly? Post edited by: hd_loki, at: 2008/03/06 15:51 Post edited by: hd_loki, at: 2008/03/06 15:52