SSRS Matrix table and freezing rows - reporting-services

just wandering if this is possible. I am working on SSRS and have a Matrix table as show in the image. I would like to freeze everything above EBAlpha when scrolling, you can see from the image that there is one header row and then three rows within a group, and then the main data within another group.
I cant see how to do this, or if it's even possible?
Thank you in advance
The header row is showing on all pages and when scrolling, but the 3 rows below it are not (they are in a group)
Cheers

Related

cells merge when exporting to excel in rdlc

I have an rdlc report in my application. The report looks good when seen on the web page, but when I choose the option of exporting to Excel, I get some columns merged in more than one cells. I don't want columns to be merged. How can I prevent this. I already saw this post, but the link provided in this post is not working.
Any help with this issue will be appreciated.
As the post you shared suggested, this is usually down to cells/textboxes not aligning in your report design.
SSRS will attempt to replicate the layout that you see in the report preview (or webpage in your case). To do this it will add additional columns to provide the correct spacing and then will merge cells that cross those boundaries.
Make sure that all your textboxes align with no horizontal gap etc. For example, if your report contains a table/matrix and a textbox with a title. Make sure that the title textbox starts and finishes exactly in line with a cell in the table/matrix.
Note that cells will still be merged if they cross the boundaries of columns (e.g. the title in this example, might be merged across several columns depending on it's width).
Sticking with our title scenario, if you need to stop it from merging under any circumstances then you could try this (untested).
Create two textboxes, one wide enough to fit the title in and another that is the same width as other data that shoudl be in the same column in the final excel output. For example, if you have a table with 6 columns, the first textbox will be the same size as those 6 columns but the smaller version will be aligned with the first table column only.
Set the location of both these textboxes to the same location (so they overlap).
Then in the hidden property set one to be hidden when Globals!RenderFormat = "EXCELOPENXML" and the other when this expression is not true. This way the short textbox will only get rendered when exporting to excel, and the logn one will only get rendered to screen.
Depending on version SSRS etc you will have to decide which render format(s) to check for.
See here for documentation on RenderFormat
https://learn.microsoft.com/en-us/sql/reporting-services/report-design/built-in-collections-built-in-globals-and-users-references-report-builder?view=sql-server-ver15

SSRS Grouping and repeat in 3 columns

I am new to SSRS report. I'm trying do make a report like the following snapshot.
I'd like to represent the grouping data in 3x3 format.
I've already making the red rectangle one, but I've tried some ways to make it shows as 3x3 in one page, but still in vain.
I was wondering if anyone can give some suggestions? Thanks.
If you are sure that each time, you know 3x3 columns and rows, why don't you just replicate the columns and tablix?
For example, instead of 5 columns, use 15 columns and replicate the data columns labels to display.
And, instead of 1 tablix, copy the same tablix with 15 column and 3 times to cover the replicating rows. Does that make sense?

In SSRS: If table is larger than the available area on a page, then the entire table should start in the next page

In SSRS usually if the table is larger than the page and not able to fit in one page, then it spreads to the next page. But in my case I want to have the entire table in one single page, instead of breaking the table across multiple pages.
I tried with Rectangle container and also tried providing height of the SSRS Report to 0 inches, but still no luck.
Is this possible to do in SSRS, if yes need some help to know how to do...
Go into Tablix properties and check "Keep together on one page if possible"
Make report height 0 too.

In SSRS Matrix report I need to display one more column as last and need to display only on last page,not as a last column of every page

I have created a Matrix report. In the matrix report I have limited the report columns per page.
For example, I have limited the number of columns per page to 6. I therefore have 12 columns over 2 pages. I need to insert one more column after 12th column (13, Cost), and to only display this on the second page of the report, not as a last column of every page.
Note: I need to add the "Cost" as last column on last page for the column group.
From the image the columns 1,2,3,4 want to display on last page only.
My report design
Example:
Click here to view the report details
Can anyone please help me with this. Thanks in advance.
I don't really get what you're trying to achieve exactly because usually tables grow vertically, as in rows get added, which could cause your report to grow in pages. Making it extremely difficult to determine what is the last page of your report.
To solve your problem you could simply create a second Tablix which contains only the columns that you wish to display on the last page. And remove those columns from the first Tablix. This will also make it a lot more easier to determine when to add a page-break.
Using expressions (combined with rectangles for example) you could do a lot more grouping and manipulating of the layout. Unfortunately I don't possess enough information and details to give you more accurate advise but you're always welcome to update your question if you need any more assistance.
Update:
What you're trying to do in point [2.] of your comment is simply not possible with the reporter. There is no way to determine on which page you are leave alone the exact position on that page.
The only way I know how to calculate this accurately is by keeping track of the exact row's nummer you're at aswell as the amount of rows that fit on a page. Needless to say that this is an extremely tedious and troublesome, especially if the columns aren't fixed either.
Using the column grouping as you say in point [3.] might be possible but have to share the expressions you used for divide the table and the column grouping to be certain. And even then it'll be a complex expression to force this kind of behavior.
However, I believe you could use my first suggestion and change it slightly based on your new description. Instead of creating a new Tablix below, you could place him next to your first table. This new tablix then only needs to have 1 column, the extra column you're trying to add.
If there is enough space on the last page to place this column next to the last column group, then it will be placed exactly where you want it. This of course won't work if you don't have enough horizontal space on your page, then it'll simply get printed on an entire new page.

Showing 2 matrix reports one after another

I have report which has 2 matrix reports. One shows details and other one shows total becuase total is not just sum. I had placed second matrix exactly below the first matrix so that there hardly any difference found.
But the second matrix is shown in first page but not in last page.
Appreciate your help.
Regards,
Raghavendra
Can you give some more details, please? I don't understand if this is a grouping issue or what... Do you mean, as an example, the first matrix takes up 3/4 of the page, then the second one starts, fills the last 1/4 but then does not continue to the next page? Or are both repeated for the data? So, each page is based on a personID or something, then for the last personID the second matrix isn't showing?
I'm not sure what the issue is exactly but can you try placing both matrices in a rectangle (remove the borders on the rectangle to preserve look and feel)? Are you sure there is data in the second matrix on the last page? Are you using sub-reports at all?