Jump to content

Crosstab function - does data have to be summed?


Nick_Murphy

Recommended Posts

I am new to JasperReports and using iReport, and have been investigating the use of Crosstabs. I obtain my data via JDBC calls, and am looking to produce a summary of the large number of rows summed by a couple of attributes. However, if I select my query to define the fields, and then create the cross tab, it seems I have to place the Crosstab in the Summary band, and the result is the creation of a repot containing hundreds of blank pages followed finally by the required cross tab view.

 

Is this because the query is retrieving the data ahead of the crosstab and is expecting to first display the data in the Detail band? Is there a way of producing a 1 page Crosstab summary, or do I actually need to produce the required record counts in the query itself?

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...