Hello, I'm just learning iReport. I'm attempted to build a report that will summerize shipping information for different time periods. I have a working Relative Date Parameter called "Prior_Week" that has the following Default Value Expression: new net.sf.jasperreports.types.date.DateRangeBuilder("WEEK-1").toDateRange() I have a Variable called "Total_Warranty_Orders" which should be the count of all the warranty orders during the previous week. Here is the Variable Expression: ($F{warranty_order} == true ? ($F{date_done} == $P{Prior_Week} ? 1 : null) : null) The other properties are: Variable Class = java.lang.Integer, Calculation = Count, Reset type = Report, Increment type = None. When I run the report, "Total_Warranty_Orders" = 0 for each row. Any help is appreciated!