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

how to get the multiple row results in one row


shrestha.mallick

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

What about grouping by Date?

Just create a Group with Expression $F{YourDateField} and create internal Variables for summing up /average or anything you want  for aggregate your current columns (e.g. $V{SumNumberDiffVehicles} with calctype SUM and expression $F{YourNumberFieldOfDifferentVehicles} and ResetType group)

The variables have to be placed in GroupFooterBand and your detailband could be removed if just the sums are enough 

So just a basic feature of JasperReports :-)

hth + regards

C-Box

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