SSRS page formatting issues - reporting-services

I have six sub-reports and I would like to arrange them as shown below.
The idea is to show the top one in first page and last two in the second page. When I tried, each report appeared in individual page. Putting first 2 reports ( side by side) in a rectangle and inserting page break after also did not work.
Each sub reports were generated using matrix.
Any suggestion would be greatly appreciated. Thank you

You would need to put the reports inside of a 'Rectangle' object and limit page break scope there. So if you want the last two only on a new page, put just those two inside a rectangle. Go into the rectangle's properties and set a page break.

Related

Aligning 2 Tablix in SSRS

I have 2 tablix one Table and one Matrix that are lined up side by side. They have relational data that I can't combine in a single query. They line up perfectly when exported and appear to line up correctly inside the original report as well. However, when it goes to load a new "Page" in Preview it loads an extra row for the matrix as compared to the table which makes the rest of the values off by 1 for each page that gets loaded.
Is there a good way to make sure they load the same number of rows on each page?
I have 2 suggestions. You probably already tried the first, but just want to make sure it's covered.
Check the properties to make sure the location from the top is exactly the same. Also use a whole number, not some random fraction because it can have rounding issues.
Add a rectangle to the report. Drag both tables onto the rectangle. Having multiple objects inside a rectangle helps to hold them together in position when the report renders.

SSRS not rendering all page breaks in PDF export

I have a report is ssrs, it consist of a main report which has a header containing the page number and 2 sub reports (report page 1 and report page 2) within a tablix. Report page one comes first, then report page 2 displays on the next page after the end of report page 1. The subreports can be anywhere from 1-3 pages. The page numbering is reset between each set of report page 1 and 2 (so if page 1 is 3 pages and page 2 is 2 pages, it goes from page 1-5, then resets). These are called for each record (with grouping) from the main reports' query. The report is around 1000 pages total. It renders perfectly on screen, but when I try to export to PDF, it will sometimes (like 1 time in the 1000 pages) display part of report page 2 on a page (as expected, the page number matches with it), then it will start printing report page 1 of the next group on the same page.
Here is the layout of the main report:
Here is the document outline for better understanding:
And here is the page that is wrong...
This is what it should look like (the last page of sub-report page 2 even has just the total record like the broken one!
I have tried everything I can think of. I have tried (i think) every combination of page breaks on the rectangles and groups, I have tried making a tablix with 2 rows using the same group and again tried every combination of page breaks. I have tried changing the number of records on a page. I have tried changing the consume whitespace option on both sub and main reports. I have tried adding both calculated and random amounts of white space. I have recreated the report from scratch a couple times. I'm sure there's more, but it would be like going through a full feature list of SSRS... Basically, I tried everything I could think of, then everything suggested in the links on the first page of about 10 different google searches. I just have no idea what is going on with this, any help would be greatly appreciated!
Let me know if you need any more info, screenshots, or whatever and I will try to provide. It may be highly "redacted", but I will provide anything I can.
Thanks, Kevin
Try check the setting "Between each instance of a group" in group properties of tablix.
Try checking your XML for empty TablixRows (which will not show up in the Document Outline). I found with my report that empty tablix rows screw up page breaks in subsequent rows / sub reports when exported to PDF. Where possible hide the TablixRows or insert and empty text box.
This appears to be a bug with SSRS when editing the XML by hand. The Visual Studio GUI seems to not let you delete the last element in a row - perhaps this is a work around. An error or schema validation message would have been nice for us hand coders!
Hope this helps.

How can I set the first and second page as cover in ssrs report?

I have one report in that there are multiple sub reports I need to set first page in that report is cover page with the image. Is this possible?
I need this first and second page and from third page needed the paging. Is this possible?
You have the main report with the sub reports. Just put the image on the top of the report and make sure to add a page break. You may have to put the image within a rectangle for that option.

Allow a List to Float Left on page Report Builder 3

I need to float a list (if anyone is familiar with HTML / CSS they will understand). I'll try to elaborate.
I am using a report to create labels to specific dimensions. I need an 8 x 2 list.
I've created my list but the list does not appear on the left and right hand side of the page, it simply renders 8 lists down the left of the page and goes onto the next page.
This can be achieved within Access 2010, you change the page layout to have two columns, this is what I need.
I have created an image to try and explain what I mean.
Using HTML/CSS in reporting services is a little more difficult than you might expect. Based on what you are trying to do, I'd recommend a simpler method using Report Builder's built in tools.
Put two tablixes next to each other horizontally (Lists might work the best, since the labels appear to be the same size) and link them to the same dataset. Then under Row Groups view the Group Properties and set the Visibility expression of the left tablix to only show odd row numbers: =IIF(RowNumber(Nothing) Mod 2, True, False). Use the same expression for Visibility on the right tablix but switch true and false around to only show even rows.

Displaying different hidden textboxes from Dataset on Page Header in Reporting Services

In my report I have Matrices that appear according to the parameters on a SP. Each Matrix holds an specific "code"/description which I want to show on the Page Header accordingly.
I tried using an <<Expr>> but that didn't work well as it only shows the first record of the database instead of the code for the specific matrix.
Then I found out that I can show an specific textbox with "=ReportItems!TextBoxXX.Value" and so I added to each Matrix the code value hidden.
Now I thought of adding in the page header inside a TextBox a concatenation of all the values, but that didn't work, and I got a:
"The value expression for the textrun "textboc11.Paragraphs[0].TextRuns[0]" refers to more than one report item. An expression in a page header or footer can refer to only one report item.
Hence, my next attempt consisted of adding separate text boxes each one with the desired TextBox Value and one behind the other (like a Pile of textboxes). Everything working now, except that the "space" that each textbox occupies appears in the report showing the desired value and a white space above each textbox when rendered.
Any ideas of how to prevent this behavior? Maybe creating an array with the textboxes and creating an IIF or I don't know, I've been searching for days and nothing seems like a good approach.
I hope someone can give me some advice and that I explained myself.
Thanks!