Moving Row/Column Groups and Placing Adjacent Row Groups on Same Row - reporting-services

I am working on the following report and need some help configuring groups.
I am trying to achieve two things:
I want to add an adjacent row group (for CollateralType) to PortfolioGroupName in the cell where CollateralType is. However, whenever I right click on the PortfolioGroupName to add an adjacent group, my only options are to add an adjacent row above or below. How can I add the adjacent row group to be on the same row as PortfolioGroupName?
I also need the Role column group to encompass the entire table (minus the EmpName column). Currently the group lies over the cell, but I can neither move it nor delete it and get the group to encompass the whole table. How can I fix this grouping?

An adjacent row group in the same row would need to be either a child group or a parent group, the options to add these will be showing.
You will need to copy the contents of and delete the columns to the left of the Role column group, insert columns in the role group and add the contents back with paste if possible or manually.

Related

SSRS: Position Matrix Cell at Intermediate Column Grouping Level, and also inside a Row Group

I have an SSRS matrix that has one level of row groups and two levels of column groups. I have a textbox that is positioned inside one of the column groups, and outside of the other one, which is what I want. But I also want this textbox to be positioned inside of a row group.
Basically, I would like #1 in the screenshot below to have a row group associated with it so that #2 is inside that row group.
My goal is to conditionally set the row-visibility for the first row. But "row visibility..." is greyed out. As far as I can tell, the way to get the option is to make sure it's inside of a row group.
The reason I want to set visibility is because the user has the option to show or hide charts, and separately to show or hide data. If the user selects both charts and data, then I don't need the first row because the label for the data can describe the chart as well. But if the user only selects charts, then I need that first row.
If there's another approach outside of minimizing the row height, I'm all ears.
Though I'm still interested in whether this puzzle is even solvable, and if not, why not.
Steps to Repeat
A version of this problem can be repeated as follows:
Insert a new matrix in a report
Just fill in dummy values, such as a blank space, into the "RowGroup1" and "ColumnGroup" "Group On" expressions.
Add a parent group to the column group, and similarly just give it a dummy grouping expression.
Delete the second row of the matrix, via "Delete Rows Only"
You now have a matrix with the same problem. Namely, get the second cell of the first row, to be inside of a row grouping.

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.

SSRS - Is it possible to span a row group header over a column group?

Sample Report showing where header should span
I hope the attached image explains succinctly what I am asking. I have a Matrix with a parent row group, a child row group, and a column group. I need to have a title for each group that spans a column group. The title will be the value of the Parent Row Group. Obviously by it's nature, a column group may be one or more columns which makes this very tricky (I hope not impossible though).
Does anyone know if this can be achieved, and if so how?
Thanks in advance!
I don't 'think' this is possible due to the presence of a column group. The only way I can think of to achieve this would be to create a subreport that displays single parent group (almost identical to what you have now), with a textbox on top of the tablix containing the parent group text.
The main report would then be a single cell table bound to a dataset that just lists the parent groups. In that cell you would place you subreport.
You can just create a parent table and put your table in it. The parent table will expand with the child.
Create another table with one column.
Set the dataset to be the same as your current table.
Add grouping and group on 1.
Make the group text box the same size as your table.
Drop your table in the group text box.
Add you header.
I don't have enough reputation to comment or to upvote Hannover Fist's answer, but it is a good way to proceed. You can indeed nest tables. You just need to make sure that the cell of the outer table that you paste the expanding table into does not have any row or column groups around it: you normally get a Detail row group when you simply insert a table, and you'll need to delete that group.
Subreports work too, but it's messy to have to break a long report into many subreports just because you want spanning headers.

Add "COUNT" column in SSRS in place of details rows

Apologies for this very newb-like question. I have some detail data that I want to group... I have added three group by columns (LOB, Event Classification, Assigned) to my table and want to add a third (Count) that counts the number of rows in the third (Assigned) group. At the moment I do this simply by adding a CountRows() column within the last (inner most) group. This is all I want to show. But I am forced to add a details column that I do not need (in this case I have "Amount"). Please see figure below:
Basically, I like what I have, except that I don't need that last "Amount" column. If I hide it, the row heights stay the same (i.e., their height is determined by the number of rows in the hidden column). I'm guessing I'm missing something pretty fundamental here. Any ideas?
From http://consulting.risualblogs.com/blog/2013/06/28/tablix-body-must-contain-at-least-one-column-ssrs/ I found:
Right click the last column, ‘Column Visibility’, ‘Hide’
2: On the ‘Row Groups’ or ‘Column Groups’, right click the ‘Details’ grouping and press delete, but only delete the grouping, not the associated rows and just delete the data in the last column.
It sounds like you need to place your values in the header of the last group defined which in your case is "Assigned". And remove the detail column. This should allow you to aggregate your values outward. The Count column would be a second group header for the Assigned group.

Tablix: blank cells when adding new child column groups

I have a dataset with the following fields:
SampleHour
Value
MeasureType
Line
Header
AggregationON
I've created a tablix with a row group on SampleHour and I'd like to have two adjacent column groups, each having the same grouping hierarchy as follows (from parent to child):
AggregationON > Line > Header > MeasureType
Well when I define the first column grouping structure all works fine: I add a parent column group on AggregationON, then a child group on Line pointing to the AggregationON group and so on.
Then I try to create the second column grouping structure and I proceed like this: I point to AggregationON in the first column group and choose "Add Group->Adjacent Right" and specify AggregationON as the "Group By" parameter. The newly created column group header AggregationON appears just on the same row as the previous AggregationON header as expected.
Then I point to the newly created AggregationON and choose "Add Group->Child Group" and set Line in the "Group By" parameter: this time the Line group header cause tablix to add a new row. On the left of the newly created header appears a blank new row that is impossible to delete.
If I go on creating child groups to build the whole column group structure, each new column child group will add a blank row on the left. That leads to an unacceptable table header with a mix of texts and blank cells like in the attached screenshot. Any suggestion?
(Creating two column groups with the same structure is due to the need to filter out results differently in the two groupings)
When you create the second column group use the "Column Groups" section on the bottom pane. Click the arrow on the first parent group and select Add Group -> Adjacent After.
Then add the child groups normally and you'll end up with something like this:
Now all you have to do is move the Child1 and Child2 to the rows below, and delete the 2 new rows choosing the option Delete rows only and you will have the two groups side by side.
Other way to tackle this problem is to have only one group (since in your case the grouping rules are the same) just create a parent group that groups based on the filters you want to apply:
Group on: =IIf(<filter expression>, "Group1", "Group2")
This is potentially harder because if you have different rules for each group, you have to put them on every single textbox under this new parent group. But at least it should get the result you want.
I had a similar issue. What worked for me was to use "Merge Cells"
Group1....................Group2......................Group3
Group1a.....................................................
.........................Group2a............................
.....................................................Group3a
In example above Group1a merges with blank cells below, Group2a merges with blank above and below, and Group3a merges with blank cells above. Then just resize the row.