Jump to content
We've recently updated our Privacy Statement, available here ×

ahullinger

Members
  • Posts

    1
  • Joined

  • Last visited

ahullinger's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I have the Definitive Guide to iReports and I followed those instructions on counting the occurences of a group, but the counts are incorrect once the report is filled. Numbers show up, but they are counting something other than the counties. Here's the situation. I created 2 Report Groups: State and County. I want to count the number of Counties for each State. I created a new Variable with Variable Class Type as java.lang.Integer and the Calculation type as Count. My Variable Expression is as follows: ( $V{County_COUNT} != null && $V{County_COUNT}.intValue() == 1 ) ? "" : null The Initial Value Expression is: new Integer(0) The Eval. time is "Group" and the Eval. Group is "County". Is there something that I'm overlooking or is there another way of solving this?
×
×
  • Create New...