Cross-Tab and Group Band?

Stimulsoft Reports.NET discussion
Post Reply
Brendan
Posts: 309
Joined: Sun Jul 16, 2006 12:42 pm
Location: Ireland

Cross-Tab and Group Band?

Post by Brendan »

Does cross-tab component work within a group band for the data being grouped?

Lets say I have 1 datasource that contains a list of all product orders that includes the customer id/name, the Product and it's category.
I want to group the datasource by customer. In the group band I want to show the customers name and a summary of all their product orders.
The summary should be displayed in a cross tab with the rows set to Category, the Columns set to Product, and the Summary set to product count.
So the cross tab should be displaying a breakdown of category/product count per grouped customer.

I've tried placing a cross tab into the group band but it seems to apply to the entire datasource and not the grouped filter.
I've also tried setting the cross tab filter to the current customer ID being grouped but the same thing applies.

Currently what I have done is created a new Datasource based on other datasource. Made this to be a list of grouped customers with a relation to the main data source and a relation in the main datasource back to the grouped customer data source. Then I made a master-detail report based on this info using the cross-tab in the master with the relation set.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Cross-Tab and Group Band?

Post by Jan »

Hello,

Unfortunatelly you can't place Cross-Tab on GroupHeaderBand. Main problem is how work GroupHeaderBand. This band does not create any special list or arrays with groupped data. Report engine only output GroupHeaderBand and GroupFooterBand in required places. In result you will receive result for full list of rows.

Thank you.
Post Reply