How to force report items to overlap? - reporting-services

I'm trying to create doughnut chart and insert label inside the chart's hole. When I render report, label is being moved outside the chart.
Is it possible to force report items to overlap instead of position it automaticaly?

I was looking for an answer to this earlier! I was trying to overlay a rectangle shape on to an image of a site-map.
Unfortunately the answer is no, due to the way that HTML renders objects:
http://msdn.microsoft.com/en-us/library/dd255248.aspx

Very old question, but page overlapping is supported in hard page break formats, such as PDF, or physical print of a report. Essentially, any other format (such as HTML or the Report Builder tool) will move your items around the page, but if you export that same (non-overlapped) report to PDF, your items will be displayed as you intended, with overlapping items.
See here for further details

You can "Add New Title" at the chart at set its position to "BottomCenter".
Right click the chart and select "Chart">"Add New Title". Place the title bottom centered and resize the text
The result in Report Manager:
Number within a chart

Overall Answer:
Unfortunately, SSRS is not graphic, design, layer friendly. The way it renders objects is based on it's boarders. So overlapping is very difficult, time consuming and in most scenarios not possible. Unless you are good with VB programming you may be able to get by with custom code at the report properites -> Code window. It's sad that powerpoint, word, excel natively have better design capabilities than SSRS. Like who in their right mind would ever think that people only want to see data represented in a tablix or box. SSRS <= 2012 native graphing options are a joke! ~ If you can use SSRS 2016, they may have fixed a lot of those customization options.
What I have tried:
Every possible combination/settings workarounds you can think of and unlimited coffee googling to the max. If you are barely starting this journey to figure it out. Let us save you hours of research and stress so you can meet your deadlines. Either build the design in broken up graphic portions (considering that SSRS will render based on borders). If you can crop images do that as much as you can; I found Windows 10 Paint 3D to be very helpful with that, Out of everything I tried, cropping/breaking apart images was the best alternative to get a better level of customization.

Related

SSRS: Prevent report content from being pushed down

I am working for the Vanuatu government at the moment and there is a very specific reporting requirement. The report needs to generate a formal document ("statement") for students ("learners") who have achieved some courses ("components") of a full qualification but not the complete qualification.
The dataset consists of a list of learners and for each learner the list of components they have achieved.
The requirements that generate issues:
A border should be displayed around the page content.
The number of components vary per learner.
There is specific data at the top and at the bottom of the page. At the bottom of the page there is data here that is learner dependent.
There needs to be one page per learner (I can control this by using slightly different versions of this report that would work based on the number of components per learner.
The design I created for the report can be seen here. This is the design that should work for any learner who has passed 1 to 4 components.
However, this does not work, because, depending on the number of components the learner has achieved, the data at the bottom is pushed down.
I thought I might be able to solve this by putting the image at the background of the whole report per page, and then put a header and footer in with the data that is learner specific. But this does not work either because it is not possible it seems to have a background image that covers the whole report page, including a header and future.
And the other problem is that there is a learner specific number (the statement number) that should go in the future, and I don't think I can put dataset data like that in the footer.
I also thought of splitting the background image in 3 parts, one each for the header, footer and body. But then I run into the same problem because I still need to get the learner specific statement number in the footer.
Another solution was to maybe have a fixed set of rows (partly invisible) in the list of components, to force the height of this list, but this does not really work either, because some titles of the components will be longer than the width of the page and wrap and take up two lines of text. Some others may not. So I don't know the height of each component line.
Is this possible at all in SSRS? Any help would be greatly appreciated.
Try creating a rectangle in the space that will be taken by the components list.
Then cut the current text box containing your expression, click the rectangle then paste inside it. This will ensure that the rectangle is the container for the textbox.
Then, in Report Properties, set ConsumeContainerWhiteSpace to True. This should allow the textbox to grow within the rectangle

How to add more data items than design view page height allows. I'm out of Design View vertical space

I understand that I can never exceed the width of a report body, but I have more report items than a (Design View) page can hold and I don't know what to do.
To clarify, what is currently on the Design View page correctly becomes a longer display view, and becomes multiple printed pages. Just what I want.
The problem is that I've run out of vertical design canvas and I don't know how to fix that.
Now that we've identified the PBI-Desktop tag was erroneous, the problem domain is SSRS Report Builder/PBI Paginated Report Builder doesn't give you enough space to craft your report.
The right but wrong answer is to go into the Property menu of the Body and there you can change the Size of the report.
Here you can see me manually increasing the size of the report body but it's easier/more precise to work with the property window.
Why it's the wrong answer -> You're designing a paginated report - one designed to be pica perfect on your page. Now we're stuffing a 21.875 inch body of a report into an 8x11 page piece of paper. Viewing of it might be ok but when someone clicks print, what happens? Is it going to squish all of that into a single page? Will Page 1 of the report really span N pages? It's been too long since I've worked with SSRS to that level of precision and I really don't remember but do test early if printing is a crucial aspect of the report delivery.
Outdated PBI Desktop/Service answer in case someone else needs it
In Power BI Desktop, click in the background and under Visualizations go to the Format tab. Change the default page size to custom and I could create a 99999 pixel tall report but I doubt that's advisable

How to circle an option/value in SSRS report

Is it possible to circle a value on the basis of some expression in SSRS report? I searched a lot but couldn't find anything useful.
Thanks!!
SSRS does not have built in functionality to draw circles specifically. There are a few alternatives such as using an image or an indicator. However, there is one big issue with any of these. And that is the fact that SSRS doesn't allow these to overlap other items. So whatever you were trying to circle, probably an expression, will just get moved around the image as opposed to staying in the center of it.
So the next best option would probably be to use a rectangular border instead. Hope this helps.

SSRS Report Rendering

Not sure if this is even possible to fix or not but I have made a report and in the body of said report is have a large .jpeg image inside a single cell of a tablix. There is only one cell in the entire tablix and have done that to allow me to group and sort the data that is displayed.
The issue is that over the jpeg image I have several fields that are overlapping with the image, there is no other way I can do this that I can think of due to the complexity of the image and the image is a diagram of a part of the plant and how it is physically set up on site.
When I go to preview the report the jpeg shows at the top of the report but all of the data that is overlapped on top of the image is shifted down to the bottom on the report (Just below the image). When exported out to a PDF the report looks fine with all of the data in the correct place as it does not seem to care that data is overlapped over a image.
The reports are downloaded from a web based server which also allows the user to preview the report within the browser it self. The big issue is that the rendering of the report in the web browser is the same as the rendering the preview window with all of the data shifted below the diagram image.
Is it possible to change the default render to be same as what is used in the PDF format or is this something we will just have to live with? Sorry for the long winded question as I cant really post any screenshots.
You can't force the report to render a certain way. It's usually better to just stick with one format and make sure your users know to look at it in PDF, for example. Otherwise, you can use a hack to make it look better.
If you want to prevent the text from overlapping the image, a hack we used was to put an invisible line across the table cell. Since the cell now has something in it, the other cells don't overlap. Not sure if it'll work in this case, though.

SSRS PDF export errors

I have an SSRS 2005 report, the report has two groups and one nested table inside of a group, the report is displayed correctly in VS as two pages, but when trying to export it to PDF I get 17 pages and the only correct pages I get are at the end of the PDF file.
Check the grid vs the Page Size.
If you Page Size is set to 8.5" x 11 and you have 1" margins and your Grid (The "white" part of the report) goes beyond the margins, you will get overflow on to other pages.
If you look at the picture below, you can see the grid goes just beyond the 7" mark. My interactive snf Page Sizes are set to 8.5 x 11. This exports fine. A good way to check is to switch to "Print Layout" mode. You can do this by clicking on the little icon that looks like a white piece of paper on a green background just to the right of the Printer Icon. When you view it this way, you get a pretty good idea of how it will be exported.
I have run into this problem before, generally a Table or Rectangle control will inadvertently push to the edge of the Grid and in turn increase the size of the Grid beyond your paper size and margins.
Yes, but it's been a (long) while since I worked with SSRS. I remember having adjusted rsreportserver.config
This link should help:
Customizing rendering extensions
The link is just the result of quick googling. Didn't read it through.
I had to adjust values for i.e. border width and so on, which are by default somehow a mess. And if that doesn't help, you have to adjust your report.