Hi, We want to present the user with a way to perform trends analysis. For this they would need to provide: Starting date (e.g., Jan 1st, 2009) Ending date (e.g., March 30th, 2009) Type of time for trend analysis (by year, month, day, or hour)The problem is in summation. I have a database view along the following lines: SELECT i.incident_id, d.occurrence_ts AS incident_date, to_number(to_char(d.occurrence_ts, 'YYYY' )) AS incident_year, to_number(to_char(d.occurrence_ts, 'MM' )) AS incident_month, to_number(to_char(d.occurrence_ts, 'DD' )) AS incident_day, to_number(to_char(d.occurrence_ts, 'HH' )) AS incident_hour, to_number(to_char(d.occurrence_ts, 'WW' )) AS incident_week FROM osc_incident i, osc_incident_detail d WHERE i.incident_id = d.incident_id; The database view returns all the incidents, and splits out the particular time units. In iReport, the report query is currently: SELECT count(incident_id) as tally, incident_day, trunc(incident_date, 'DD') AS incident_date FROM incident_report_vw GROUP BY incident_day, trunc(incident_date, 'DD') ORDER BY incident_date However, this would only allow the user to pick a start and end date, but no way to group the items. The Time series Data tab is filled out as follows: Series expression: "Incidents" Time period expression: $F{INCIDENT_DATE} Value expression: $F{TALLY} No lable expression valueOne of the issues is: How do you parameterize the Time period value on the Details tab? Any other ideas are most welcome.