Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSRS 2008 Fixing the Row Header

In SQL Server Reporting Services 2008, I cannot always fix the Header row of a Tablix. Right-clicking the tablix and checking Repeat header rows on each page accomplishes nothing. Expanding the group panes to Advanced View and right-clicking numerous (Static) row group sections and changing properties RepeatOnNewPage to True works only if done in conjunction with setting KeepWithGroup to After.

But that often disallows compilation since it is considered an rsInvalidKeepWithGroupOnDynamicTablixMember error: Visial Studio 2008 tells me ...A TablixMember that is dynamic (i.e., has a Group specified) or has dynamic descendants must have the KeepWithGroup property set to "None". It seems random as to whether I can set this property on this (Static) tablix member.

Is there an easy, intuitive way to fix a header row on an SSRS 08 Tablix?

like image 260
JonathanWolfson Avatar asked Sep 02 '09 16:09

JonathanWolfson


People also ask

How do I fix the header in SSRS?

I think this can be fixed by setting the FixedData property to True in Advanced Mode. To get to Advanced Mode, click the down arrow on the grouping pane, select Advanced Mode, then select Details and check the properties there.

How do I keep the header on each page in SSRS?

To display row headers on multiple pagesRight-click the row, column, or corner handle of a tablix data region, and then click Tablix Properties. In Row Headers, select Repeat header rows on each page. Select OK.

How do I create a header row in SQL?

This is also possible using dynamic SQL, whereby you run the query in three steps: first, run a query to get the column names you'll need. Second, use that information to build a new query string with the needed columns. Third, execute the new query string.


1 Answers

YES! You actually need to use the advanced group functions in the bottom half of the report design screen, and change the properties for the group. You can only freeze the header rows on the outermost static group of the report.

With your report in design view, make sure the group window with row groups and column groups are showing at the bottom of your screen. At the far right of the top of the "Column Groups" pane, there is a small down arrow (not the down arrow on the group bar). Clicking that arrow will allow you to view advanced properties. When you select advanced properties you will see your groups in orange bars and the static groups in gray, you must (must, must) choose the top static group. You do want to make sure that the text headers you want to freeze are in this top most row.

In the properties window change the FixedData property to True.

Also, the check box for "Show header rows on each page" in the tabliix properties window does not work either, you also need to set that in the properties box. Set "RepeaOnNewPage" property to True.

like image 159
Lisa R Avatar answered Oct 05 '22 23:10

Lisa R