NiOs Posted September 2, 2014 Share Posted September 2, 2014 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:ShopsItemCategorySalesRankShop_AItemCat_XYZ12341Shop_AItemCat_WST11232............Shop_AItemCat_KML65210Shop_BItemCat_RST512341............Shop_BItemCat_NMK25310Shop_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_AItemCat_XYZ12341ItemCat_WST11232Shop_AItemCat_DFG10043ItemCat_RDT9034ItemCat_WSF8525 Shop_AItemCat_DFG8516Shop_AItemCat_TZU7997ItemCat_RDT7828ItemCat_PLM6899ItemCat_UHN65210But 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 Link to comment Share on other sites More sharing options...
cschmidt_2 Posted June 3, 2021 Share Posted June 3, 2021 I have this same issue, were you able to resolve it? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now