Duplicate pages in Report SSRS - reporting-services

I am working on Reporting Services and create Report. Here is Report properties: A4 Landscape, Width = 29.7 cm, Height = 21 cm and all margins is 0 cm. In body Width = 29.7 cm and Height = 21 cm. Body is divided into two parts.Each part have Tablix within Rectangle. Problem is, when I run report, I get same two pages as a result. How to solve this problem. I need to get only one page as a result. Pls help.

Related

How to convert image scale in pixel to cm unit of the rdlc report?

I want to show image into each cell of tablix. Images are different height. So I must to set display to be Original Size only.
Inside record be assigned by Image. The image get from some column which stored Byte() Array.
Images includes 3 height such as H, H/2 and H*2.
I try to use subreport for supporting different 3 heights and used Hide/Visiable for select one.
But speed of rendering is slow around 7 seconds. It isn't great enough.
So I must use image into the cell without subreport. But I don't know how to prepare a image for fit in report scale . For example, if I want to show image in each row is 3 cm. What resolution I should make the image?

SSRS Report Stacked Bar Chart Bar Width changing while printing the report

In the design view of SSRS Report Builder, the developer had set the custom attributes for the bar "PixelPointWidth" to 30.
The width of the bar in the bar-chart is appearing good while viewing the report in the browser. However, when trying to export it to pdf or to print the report, the width of the bar in the bar-cart becomes very thin and the text labels within becomes almost unreadable.
Same scenario happens with stacked-bar-chart as well. Tried changing the pixepointwidth and other related parameters but in-effect the issue remains as is.
I'm not sure why the PixelPointWidth would not be left as default, maybe the developer thought this was the way to adjust the width of the bars (which it does, but not directly).
What you should probably do is set the PixelPointWidth to 0 (default) and then adjust the PointWidth property instead, so that you get the desired width.
PixelPointWidth (I think) sets the datapoint width to an exact number of pixels, depending on how you render the report, that will result in different physical dimensions (150 pixels at 100dpi is roughly 38mm but at 150dpi it's approx 25.4mm)
Here's an exmaple where I set the top bar to PixelPointWidth=40 and the bottom bar to PointWidth=0.5 . In design view, on my monitor, it appears the top bar is slightly smaller than the bottom bar.
When previewed (screen rendering) they appear more or less identical heights.
When I render the report to a PDF they look totally different.
As I said earlier, if you set the PixelPointWidth to 0 (default) and then adjust the PointWidth as a percentage of the default gap between categories then you should get much more consistent results. If you set the PointWidth to 1 there will be no gap between each bar, if you set it to 0.8 (default) then the bar will consume 80% of the space and the gap will consume the remaining 20%

Resize an image using MS Picture manager is not working

I have a large picture (2062 x 1447), and i want to resize it to be presented as a logo inside my web site, so i want to resize it to be (202 X 44). so i open the picture using MS Picture manager 2010, and i seelct to resize the image to a custom width and height, then i type 202 & 44 as follow:-
but the new size will be 63 X 44.. not sure why i can not define it as 202 X 44 ?
Most likely this is because the program tries to keep the aspect ratio so the result is just a smaller version of the original without stretching the image in one direction. Maybe there is a checkbox not shown in the screenshot to lift this limitation‽

SSRS personal paper size issue

I have a Label with this meassures
Heigth = 8cm
Width = 10cm
And need to print in portrait mode, the problem is that report builder allways change it to Landscape mode
How can I do to force Report builder to accept my meassures without changhing the orientation?
A page that has the top edge longer than the left edge is Landscape; those with a longer left edge than top edge are portrait - that's just the way it is by definition.
What you actually want to do is rotate the output of your table so that when you peel off the label, the text on it is oriented as if it is portrait.
Given you are on 2008 R2 you can set the table cell's WritingMode property to Rotate270. You'll need to resize your cell dimensions to accommodate your text and have your data in columns rather than rows. So your Detail row will be 8cm high and 10cm wide with a number of thin, high columns for your data with the text rotated 270 degrees. Ensure that the report project's TargetServerVersion property is set to SQL Server 2008 R2 or it won't support the Rotate270 option. This should give you the result you are after.
Failing this, you could create a table with a single Detail cell the size of your label, place an image in the cell to fill it and draw the text on that image in the orientation that you want using custom code. Here is an example of how to do this with a code sample.
If you right click the blue background and go to Report Properties, you should see an Orientation selection there. Make sure that's set to Portrait.
If it is already Portrait then the problem is likely to be that the body of your report is too wide for the Paper Size you have selected.

empty page after tablix (Reporting services 2008)

I have created a report which contains a tablix. I observed that when the
tablix contains a certain amount of rows, a blank page is added after the page with the tablix with only the header and footer of my report.This happens both in design and print view, even if the tablix has only about 10 rows and there is a lot of space till the end of the report body (which has a height of 27cm).
I have not added any kind of page break. Has somebody perhaps had this issue?
set the ConsumeContainerWhiteSpace property for the tablix to true.
If that doesn't work.
check that the (Body Height + Header height + Footer Height) = report page size height
(body width = header width = footer width = report page size width)
It seems a good idea to set the width of the body a little less than page width - (left + right margin).
In my last report, page width was 21 cm with both left and right margin = 0.5 cm. With a body width of 20 cm and ConsumeContainerWhiteSpace=true, I still got a second page in print layout, but not with a body width of 19.9 cm.