Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Tablix contained group headers.

$
0
0

I'm creating a report in SSRS 2008R2.

I'm having issues getting different groups to page break as they should, and because there were multiple subreports orignally (which are now part of one master tablix), I'm now having problems with the group headers.

Essentially, the report is made up of three different reports: An Invoice, a details area, and comments. Each of thesrs three areas are self-contained as tablixes using the same stored procedure to get data. The details is the main report body, with 7-8 groups. The outermost group (BatchId) is where I'm trying to place the Invoice (in the header), and the Comments (in the group footer).

The footer area is working correctly. There is a pgae break on a subordinate group (SortBy1) at the end of the group which places the comments (in the Batch group) on a seperate page. Since each of the three areas have their own header in the tablix (within their respective groups) the Details and Comments are fine. The Invoice howeveer, not so much.

The details is the only area that routinely spans several pages, thus needing repeating group header rows (In the ContractStatus group, subordinate to the SortBy1 group). I've gon einto the Advanced settings for the rows and set the properties to repeat the ContractStatus headers and they function correctly.

Finally, here's the problem!Since the Batch Header is parent to SortBy1 and parent (hierarchically) to the ContractStatus, setting those values is apparently causing the BatchId to repeat on every page (The Invoice should display once per Batch). I receive an error when I try to remove the Keep With Group After and Repeat On New Page values that are associated with the BatchId.

I tried to think of a way to resolve this with an expression to hide the Invoice on other that the first page of each group, but by necessity this is a tablix group header, not a page header. I cannot reference PageNumber, etc from the Globals! collection.

Does anyone have any wors for wisdom?
Thanks!


Viewing all articles
Browse latest Browse all 10045

Trending Articles