Alternate Blank Page on SSRS - reporting-services

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"

Related

SSRS report creating empty second page in PDF format only

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.

SSRS Adding whitespace to right of fields

So I'm currently creating a report and whenever I render the report on CRM Dynamics it's adding a ton of whitespace to the right of every field like this:
Bunch of white space
What I've tried so far:
-Changing CanGrow to false (I'm aware that CanGrow only affects if it can grow vertically)
-Adding the table to a new report
-Setting ConsumeWhiteSpace to true
I've been looking for a way to make the table columns static but according to Microsoft's documentation, they should be static by default.
For reference here is how I want the report to look, this is the view I get when getting the preview in Visual Studios: What I want it to look like
Right click the grey space outside of your report and go to properties. Make sure your report is in portrait mode and set your margins. With default margins of 1" your page width should be under 6.5". Drag the border of your page to the left until it is LESS than 6.5" (so you can't see the .5" hash mark). If you adjust your margins to be smaller you can make it a bit wider but I don't recommend less than .5" margins.
I think what is happening is your page is so large the tables are stretching to with the empty space.

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

How to prevent autoresizing body in SSRS report

I have a report that has a header and footer that are both set up to fill the whole A4 length (minus margins of course) because I have some information on the far right and far left of each of them. Now in the body I have a List Element that allows me to have a tablix report and a chart next to each other. The body is also sized propery to stay within the pagination limits of the report. All should fit on A4 landscape. Tablix and Chart are next to each other however the Tablix will grow to 4 columns. When this happens the Chart is pushed to the right to just fit A4 landscape. However at the same time SSRS dynamically increases the body size and therefore I end up with emptpy pages when I render the report to PDF. Needless to say that this is very frustrating.
Did I miss some essential information or is SSRS implementation of Header/Footer concept just not very smartly done (being part of the body container) because of them I can't reduce the body size so that in case of autogrowth it won't go over A4 landscape size (What I can see as one option to get around this silly behaviour). Best actcually would be to avoid the autogrowth of the body, since there is actually enough space to fit within the given body size for both elements.
any hint would be very much appreciated.
I found the reason. On the Report there is a property "ConsumeContainerWhitespace" which is by default set to false. After setting this to true I got the wanted behaviour. Still I'm not very excited by the design of this "feature" but if you feel that your report body dimensions
are within the report dimensions and you still have to struggle with blank pages in the rendered reports, have a look at this property.