SSRS report creating empty second page in PDF format only - reporting-services

I have a SSRS report that fits in one page. When saving it in PDF or Word, a empty second page is created. My borders as set to 0.25 inches. Any ideas on what can be done to prevent printing the second empty page?

Check for these things:
The report body width - if your report width (different than report body) is 8.5in. and you have .25in. left and right margins. Then your report body width has to be 8in. or less.
Page breaks - check your dataset(s) and rectangle (if any) properties to see if you have page break options checked, either "add a page break before" or "add a page break after".
White space - remove any white space from the bottom of your last dataset to the bottom of the report by dragging the bottom edge higher.

I was able to resolve this extra page my moving the footer area next to the bottom of the tablix grid with zero padding in between.

Related

SSRS Data always show on third page

I'm new on SSRS and I want to create report, standard report.
When I finish assign my data to textbox on Table, why my data show on the next 2 page?
My sample report.
Check that the report body + margins does not exceed the page width. When this happens, the blank area to the right of the report which will not fit on page one will 'print' on page two but as this is just white space you don't see anything, then the rest of the report will print on page three.
First try to reduce margins as this is the easiest thin to do, if the problem will occurs then you have to make the body contents narrower.

SSRS Rendering On Server Adding Whitespace

I have a report, and on that report is a rectangle with a bunch of textboxes that are only visible based on a Visibility Expression for each box.
When I run my SSRS report on my desktop, or if I convert it to a PDF from the server, it looks fine. When a textbox is not visible, the box underneath moves up to fill the void.
When I just let it render through a browser on the server using (&rs:Command=Render) it's adding white space to move it to the middle of the rectangle so it is not formatting properly.
Here's what it looks like when only one of the lines is visible when it's on my desktop or when saved as a PDF (or image) file:
The red box is moved up to right underneath the black box when all the other boxes are not visible. That's what I want.
When it's rendered on the server, it looks like this:
It's moving the red box to the middle of the rectangle for some reason.
It's not the browser, I've tried 3 and it looks the same in all of them.
I've setting the consume container white space property to both true and false for the report and it makes no difference.
I can't add the textboxes to a tablix as this is a subreport that takes parameters and cannot have a datasource or dataset.
Any ideas on how to get rid of that whitespace when only one or a few lines are visible?
Thanks.

Make footer appear at the bottom of Report Page even if there is no data

I'm working on SSRS Report.
How to make footer appear at the bottom of Report page, when there is no data to show in tablix?
Currently all reports footer is appearing immediate next to the Tablix Last Row. It should always appear at the bottom of every page whether data is present or not.
Please help me!
Put an empty Rectangle item to the right of your data tablix, with it's height as the minimum height you want the report body to take up. Even if the tablix has no data, the Rectangle will act as a minimum height.
In my screenshots the rectangle is blue and the footer is yellow to highlight what happens. You can make your rectangle whatever colour and width you want. From my testing in SSRS 2008 R2, this still works even if the rectangle has no colour and the report's ConsumeContainerWhitespace property is True.
If you're printing the report or exporting it to PDF etc., you shouldn't have to worry about this. The page size of the print/export will automatically put the footer at the very bottom of each page, regardless of the body contents.

SSRS White Space / Blank page Issue

I am having issues with blank pages turning up in pdfs/printing etc.
Reason seems to be the layout of my report.
I have a fixed width corporate header that fits the page. I then have a main report area with a dynamic number of columns grouped across the page.
The main report has a width of approx. 4" on the design screen, leaving a white space to the right of this of 6.5". I know that after the column groups expand out SSRS will try to render 6.5" of white space after it because that is the difference between my header (which I cannot change) and my main data area.
I understand the problem, and why it happens, that much is well documented. What I need to know if anyone has found a work around for this? I can't give management the answer "Sorry, that's the way it is."
Many thanks.
The reports ConsumeContainerWhiteSpace property
Gets or sets a value that indicates whether all whitespace in containers, such as Body and Rectangle, should be consumed when contents grow instead of preserving the minimum white space between the contents and the container.
This can be set by clicking the Report body, going to the properties (F4) and setting ConsumeContainerWhiteSpace to True

Alternate Blank Page on SSRS

I have made a change to a Subreport on SSRS. The subreport should display on the last page of the whole report.
However when running this report as a PDF, a blank page is generated on every alternate page.
The margins and page size have not changed.
What is most likely happening is that part of your report is too wide, and the extra space is printing on the second page. It's usually the report body (it can change as you add columns to your tables) - I would check that first. Just look at the properties and make sure the width isn't wider than what will print on your page.
If you're having trouble identifying which section the extra width is coming from, try changing the background colors on the header, body and footer sections. Set each of them to a different color, then print the report to pdf. You’ll see the colors in the pdf and be able to identify which one is too wide.
Also, make sure you add the margins into your total width as well. If you have .5" margins and can only print 8.5" wide, then your report can't be wider than 7.5"