Aligning 2 Tablix in SSRS - reporting-services

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.

Related

SSRS Exact copy of a table does not stay within the page

I am trying to set up a 3 part check where the header of the report is the check itself, and the next 2 sections are each a table with the detail data. One copy stays here while the other goes with the check as a stub. I want the data to be exactly the same and print on the same page. The problem I am having is that if I print 2 checks the second table does not appear on the first page but shows up on the second page with the second check (2 tables in the bottom of the second page). How do I get the second table to print on the page with the proper check? I have put both into a rectangle in the body but that has not helped.
I also need the second table to be in a specific location on the page so it can't be put into the first table since the number of detail rows may vary.
How do I share the report design when I can't upload files? It's also hard to get a 2 page pdf file into a single snapshot. The image I uploaded is the second page. The second table should be on the first page not the second page.
The other issue with this is that my page header is expecting to find a total of the fields in the table, so if I use 2 subreports and remove the tables it can't calculate the total.
I am still confused as to what to do. The ultimate goal is to have the check print like this (works fine if only printing one check):
Here is a snapshot of what my rdl looks like in report builder:
I want the exact same table repeated on the same page. I have tried putting them both in a rectangle but that didn't work. I have tried making the second table a subreport but that didn't work. I have tried making 2 subreports with each containing a table but that didn't work. The check part of it is in the page header and it uses the sum of the data from the table to get the total check amount.
I finally got it working! Here is what I did.
1 - Created a subreport that holds the copy of the first table
2 - Added 2 rows below the detail group and put it outside of the group
3 - Put the subreport on the second added row
4 - Made the first added row below the detail big enough to force the subreport to be on the page where I want it.
Here is what the rdl looks like in report builder

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.

SSRS page formatting issues

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.

SSRS 2008 two column report only shows data on the left column

I am creating a new report that needs to show data in two columns. I did the following:
Report Properties: added the second column
Insert a List control from the toolbox
Insert a rectangle inside the List control
Insert a textbox inside the Rectangle
When I click on Preview tab, the report only shows data in the left column and then continues to the 2nd page in the same way instead of using the 2nd column.
List controls are not really needed. If you place the data in two tables or textboxes at the same height, they will display next to each other. If you have to, place both in a rectangle or set the KeepTogether property.
This is because it only works in "Image" and "PDF" export formats. From the relevant documentation on columns (emphasis mine):
Columns are only applied when you render and print reports in PDF or Image formats.
The "Preview" window doesn't use the PDF or Image renderer.
Personally, I'm a little surprised that it hasn't been implemented in the MS Word renderer, but I've tested this and indeed it doesn't work there either.
A little earlier in the same documentation, it hints at the inner workings of the "columns" feature:
...For example, suppose you have two columns on a physical page. The content of your report fills the first column and then the second column. If the report does not fit entirely within the first two columns, the report fills the first column and then the second column on the next page. ...
My guess is that in the Preview window, you'll never get to the end of a physical page, so the content never flows to the second column. If you export to -say- PDF, you'll probably get the behavior you're expecting.
Note that the columns do actually have to fit in the report, make sure your report's and report body's width and margins are set correctly.

How do you organize pages in reporting services without using subreports?

I have a report in reporting services which I designed by creating rectangles for each page. I then put all of the controls for displaying that report in the page in that rectangle. I've done this because I created my own "headers" and "footers" instead of using the built in header and footer functionality because I needed to put information in the header that is related to data in the attached dataset, which you can't do in their built in headers.
The problem I have is when I need to "insert" a new page into the middle of the document, there doesn't seem to be a way to "push" all of the following pages "down". For instance, let's say you have a report with 20 pages. Each page in a separate rectangle. Now, I want to select all of the rectangles from the 4th one down to the 20th one down. It takes forever if I start a selection near the 4th one and drag the mouse to the bottom waiting for the scroll bar on the side to scroll the page down.
Are there better ways of selecting everything from a certain point going down?
Is there a better way to organize a large report? I wouldn't mind using sub reports, but I think I'd end up with the same issue.
One benefit you would get from subreports is that the report would not be so large anymore. You can put each subreport in a rectangle and set their size them to a half-inch or less with cangrow set to true and they will expand out for you when the report is rendered. I would be cautious about data access within the subreports. It is my understanding that if you duplicate references to datasets in the subreports it can increase the number of calls to the database.
Has this helped? Let me know if you want any clarification or if I have missed the question.
Thanks.
Frank