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

agoldchleger

Members
  • Posts

    2
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Posts posted by agoldchleger

  1. Hi there,

    I have data that looks like this:

    AnimalClassAnimalQtyClassQty
    DogMammal5080
    CatMammal3080
    ParrotBird2030
    HummingbirdBird1030

    So basically ClassQty is calculated in the database as a window function over the Class filed. I have the data above in the detail band of my report, and would like to have the animal class totals at the end of the report (I tried the summary band), such as:

    ClassClassQty
    Mammal80
    Bird30

    However, the naive approach of just placing the fields in the Summary band does not work, as I get a single row for the animal class of the last row in the detail band:

    ClassClassQty
    Bird30

    I tried to fiddle with evaluation time properties, but to no avail. I figure that I could just stick a subreport and be done with it, but I wonder if there is a cleaner solution that I might be overlooking.

×
×
  • Create New...