Put Group header above group instead of beside it in SSRS - reporting-services

I have a report group that currently looks like the image. It has row groups as follows:
It grouped in order like this:
Department
Agent
Year
Month
I have removed the columns with department and agent and year. I would like to put the agent and department above the column headers which repeat on each page along with the agent. I tried putting a row above the headers but you can't merge cells when adding a row above there and agent + department is very long. What I want is shown in 2nd image..I put the expression in a text box in the page header but it just repeats the first value on each page and not the actual value.
How to do? I want it above and not beside to save horizontal space.

Check these previous answers of mine. If they don't help, post the report design including group properties and I'll see what I can do.
Grouping in SSRS?
Repeat Row group on top of table as table headers between every groups in SSRS

Related

SSRS Repeat table for each record of results

Apologies if I have missed it anywhere else but I can not find any examples of this.
I am pulling data from sql into SSRS and rather than have one row in a table per record, i want a table/group of tables to replicate per record with the ID field as a table title. Something similar to the below image. Is there an option in SSRS to do this? any help is greatly appreciated.
wanted output
You can do this with a row group based on NoticeNumber. Simply add two headers and group detail.
Add a table.
Add a row group with the group field being Notice No. Make sure you select the option to add group header.
Right click the row header added in 2a and select6 "Add Row|Inside Group Below".
Add the number of columns you want for each record.
Select all the in the top group header row, right click, and select merge.
Add your Notice number to the merge cells.
Select the merged cell and set its text alignment to left aligned.
Paint all you cells in the row produced in 3 above gray.

Mixing detail rows in the middle of grouped rows

I have a report that need to show rows grouped by some criteria, let's say SubjectId.
But, final report preview need to looks like table below:
Little explanation:
Rows 11 and 12 belongs to group 1, and I need to put those 'Details rows' in the middle of table and after those two columns, I need to continue with group data, and that method would be valid for any group in table.
Everything would be easy if those two details columns are last two columns, but I have problem to get preview from picture if those columns are in the middle.
I'm not sure you can do this.
You could get something similar by just adding your Gender column at the end and then setting the HideDuplicates property of the textbox top True but that will not allow centering etc.
This was the output I got after applying the above.
I've used Category twice just as an illustration (that it belongs inside the row group)

Print all group footer rows on the next page if they won't all fit on the first page

I have a purchase order form in SSRS. It's grouped on the Purchase Order number. There are four rows in the group footer for totals.
Is there a way to keep all rows in the footer together? That is, if all of them won't fit on the page, that all of them will be printed on the next page.
You have two ways of attempting to accomplish this. Using the KeepTogether property for the selected rows or the entire group
Or when SSRS inevitably doesn't do what you want it to do, you can do the ole Rectangle and Textbox trick. Insert a row above the subtotal that is also a group footer. Then insert a rectangle. Once you do this, you can insert a bunch of text boxes and move them freely around and structure them in the same way you had them formatted the 4 separate rows. It would look something like the below. With this way SSRS couldn't split the row onto multiple pages because its all in the same row. For insurance purposes check the KeepTogether box for this row as well.

ssrs - how to use a group by in the header

My aim is to have that
I want to add a colum name, on my header that will be in a group. That column name will be linked to an existing group within the body of my report
This is what I've done
I tried to put a column name inside of a textbox , within the header
=(Fields!EVENEMENTS_TYPE_LIBEL.Value, "DataSetEvtsLibel")
It did not work. The only thing possible is to have an agreggate (see below)
=First(Fields!EVENEMENTS_TYPE_LIBEL.Value, "DataSetEvtsLibel")
I then created a parameter Libel, I've used a query to provide available values inside of the parameter.
It gives me the relevant field but alas it does not do the grouping.
I looked at the internet but I did not find anything relevant.
If you have any tips, they are more than welcomed.
Thanks
Update: Should I mention I'm talking about Page header
You can create a Group Header in order to show the current value in the header between each instance of your group.
In the Row Groups pane, right click Details group, and add a parent group.
Select EVENEMENTS_TYPE_LIBEL in the group by drop down list, and mark the Add group header check box.
Now in the tablix delete the first row and the first column. You should get a tablix like this:
Merge the first row in one cell and use EVENEMENTS_TYPE_LIBEL field.
Add the columns in the next row, you will have to insert an additional row for column headers, so use insert inside the group:
It should produce the following tablix:
UPDATE: Adding textbox with the current group present in the page.
See the header textbox properties in the tablix and look for the textbox name:
Now in the Page Header textbox use:
=ReportItems!Textbox176.Value
It will show something like this:
Hope this be what you are looking for.
Looks like you would like to dynamic change the report header value based on tablix row group value change.
If the answer is YES, you may refer to SSRS dynamic change the report header textbox value based on tablix row group value change
Actually, I have a SSRS report needed to do that. And the answer provided by #Hannover Fist solved my issue.
Hope this help.

SSRS format rows on report

I have a simple report that groups rows on PERSON then on DATE. I have these two groups in the grouping pane with the DETAILS GROUP below.
The trouble with this is that I end up with PERSON AND DATE appearing at the top of the first 2 columns on the left, but the rest of these two columns are just empty space which is wasting a lot of space on the left hand side of the page.
How can I format so that I keep the same grouping but have the PERSON and DATE appearing together on the first row only with all other data displayed below. This grouping would then show again as a single row whenever the group changes (which it does at the moment, but with loads of dead space on the page on the left hand side)
I've tried adding a 'column group' of PERSON AND DATE, but this ends up with the report being massive horizontally.
thanks
You could put your table control inside a list control and give them both the same datasource and grouping. Then put your PERSON and DATE fields in the list control and position them as you like. The table would only be there to display the detail and wouldn't have fields for PERSON and DATE.
Just Right click on the Grouping Column that was automatically added on the Tablix, and Delete that Column.
And, You have additional Two rows (Group header) above the Detail row : Person Group, and Date Group.
Simply, Select the Cells inside that Row, and Right click and Merge So, that you only have a Single Cell inside the Group Header. And, Write an expression inside that Cell according to your Group Header Requirement i.e. If you want to Show Person : PersonName in Group header of Person Group Then, Merge and Right click on that cell and Goto Expression then Type :
="Client : " + DataSet!Fields!FieldName
Do, the Same for the Another Date Group.
I hope you understoood.