Jump to content

NiOs

Members
  • Posts

    3
  • Joined

  • Last visited

 Content Type 

Forum

Downloads

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Events

Profiles

Posts posted by NiOs

  1. I´ve a problem with Groups which are seperating randomly, so that i have for one Group Expression more then one printed Group.

    My Data is from a ranked Top10_per_Group-SQL Query.
    The SQL-Query is Group(ed) By "Shops" and "ItemCategory" and has SUM(ed) "Sales" like:

    ShopsItemCategorySalesRank
    Shop_AItemCat_XYZ12341
    Shop_AItemCat_WST11232
    ............
    Shop_AItemCat_KML65210
    Shop_BItemCat_RST512341
    ............
    Shop_BItemCat_NMK25310
    Shop_CItemCat_WDT851
    ............

     

    In JasperDesigner I created a Group with GroupExpression = "Shops" and the output in a Report is i.e. for Shop_A printed like:


    Shop_A


    ItemCat_XYZ12341
    ItemCat_WST11232

    Shop_A


    ItemCat_DFG10043
    ItemCat_RDT9034
    ItemCat_WSF8525

     Shop_A


    ItemCat_DFG8516

    Shop_A


    ItemCat_TZU7997
    ItemCat_RDT7828
    ItemCat_PLM6899
    ItemCat_UHN65210

    But the result i want is that all Top10-Items of Shop_A are placed in the Group of Shop_A and all Items of Shop_B are placed in the Group of Shop_B and so on.

    The Shops-Field is placed in GroupHeader, the Items-Fields in the Detail1-Band.
    When I place all the Fields in the Details-Band, i get the same result like in MSSQL-Server.

    I tryed it with several Evaluation Times, but the only result is, that the Group is seperated in another way or with all items.

    I hope you understand my problem and are able to solve it.

    Please help.

    Best regards,
    Nils

×
×
  • Create New...