Welcome to Joel Lipman .Com

Preparing Content...


Our Website Development Notes

We hope this helps!

Articles // Microsoft // MS Reporting Services

SSRS Repeat Headers in PDF Report

Thursday, 3rd September 2015
15,740 Reads
The Problem
I've set some tablix headers but when I request the same report in PDF format, the tablix headers only appear once on the first page. Every subsequent page simply displays the report header (which does not include the tablix header... obviously). I right-clicked on the header row of the tablix and checked the box "Repeat header columns on each page.
This is not working!

I have a report which has been set to landscape with zero margins specified. Although BIDS acknowledges that I want this to output to A4 with the correct measurements, the report doesn't seem to have any page breaks. When I run the report in BIDS, the whole report (despite spanning 10 pages when printed) is on the same page. The same happens when I run this on the Reporting Server.

My Setup
- XP Workstation
- Business Intelligence Development Studio 2008 (BIDS)
- SQL Server Reporting Services 2008 R2 (SSRS)
- PDF generated to a Windows File Share

The Fix
  1. Click on the down arrow icon near the "Column Groups" panel (see below screenshot).
  2. Click on the "static" row that is the header of the tablix (the data of the tablix is "details").
  3. Set "FixedData" to "True" if you want the headers to scroll with the report when viewed on the Reporting Server or within your IDE.
  4. Set "RepeatOnNewPage" to "True" for the headers to repeat on every generated page.
Fix 1,2,3,4

Article Comment (1)

Friday, 7th October 2016
0 Votes
Gravatar for sach|n
Yes its working for me..thnx Joel.

Recent Comments

Gravatar for Art
Oracle: order by subquery missing right parenthesis
Hello, what if I would like to add rownum to that code, but in my case it's all is subquery? How can I do this ?

20 Jan

Gravatar for Robert
CharIndex Reverse - find occurrence starting from end of string in TSQL
Very helpful thanks! This worked for me as well, and is a little shorter. Not sure if there are drawbacks. SELECT RIGHT(@Haystack,CHARINDEX(@Delimiter,REVERSE(@Haystack))-LEN(@Delimiter))

29 Dec

Gravatar for Translation

27 Dec

Gravatar for Tibbe
JComments 2.3.0 with ReCaptcha in Joomla 2.5.x
Hi there, This looks like a great solution to get rid of spam comments. How to integrate this in Joomla 3.x? Step 2 I did in settings.xml, but no result in frontend. Kind Regards, Tibbe

16 Dec

Gravatar for sach|n
SSRS Repeat Headers in PDF Report
Yes its working for me..thnx Joel.

7 Oct