Hi, I am using crosstabs in my report and am doing the calcuations using <measureExpression> Here, I call a Helper class method called "isDateEqual(java.util.Date date, java.util.Date maxDate) Here's my measure expression: Code:<measure name="LatestMonthSum" class="java.lang.Float" calculation="Sum"> <measureExpression> <![CDATA[com.test.Reports.ReportHelper.isDateEqual($F{IssueDate},$P{MaxIssueDate}) == 0 ? new Float(0.0) : new Float($F{IssueAmt}.floatValue())] </measureExpression> </measure> Note: $F{IssueDate} = <field> in the crosstab sub-data set $P{MaxIssueDate} = Crosstab parameter, passed to the crosstab sub-data set. Now, What's happenning is that the method isDateEqual() is never called. Then, to kill my curiousity, I created a method isDateEqual(java.util.Date date) If I call this method using: Code:[code]com.test.Reports.ReportHelper.isDateEqual($F{IssueDate})The method is called. But if I call the same method using: Code:[code]com.test.Reports.ReportHelper.isDateEqual($P{MaxIssueDate})The method is not called. Is there any other way to pass a crosstab parameter to a java method in a <measureExpression>? Thanks in advance, ~Harish. Post edited by: harishsundaram, at: 2006/08/22 10:18