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

Total count of the Group


jawwadfarooq1

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Define a variable for count the first record of the group. Two options:

 

1) Count value only for first record of the group

Name: G2_NUMBER

Variable Class:  java.lang.Integer

Calculation: Count

Reset type:  Report

Increment type: None

Variable Expression: ($V{G2_COUNT} != null && $V{G2_COUNT} == 1) ? "" : null

 

2) Count value once time by group

Name: G2_NUMBER

Variable Class:  java.lang.Integer

calculation: Count

Reset type:  Report

Increment type: Group

Increment group: G2

Variable Expression: $F{<field_name_not_null>}

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...