SSRS - Child group position / subreport? - reporting-services

I've got a report with parent and child groups as you can see below, which work fine.
Results look like this and as you can see column from Initiative Name to Reasons for Overall status are the same, therefore I would like to group these as well, but I can't figure it out. When I add a new child group (Milestone Name), it adds column right after the Initiative name column, which I don't want to.
The ideal results should look like this:
Could you advise me how can I achieve that, please? I've also tried to use subreport, but I wasn't able to make it work either.
Many thanks!

You should be able to add the columns to the grouping in your outer group (MissionCritical).
Once this is done you will probably (this is from memory) need to insert a row under the top row (Right-click, insert row, inside-group, below).
This will give you two rows for the outer group.
Then copy / paste the contents of each column affected (the light blue ones I guess) and paste them into the new row. You can then remove them from the details row.
This should give you what you want. If not, let me know and I'll setup a sample to demonstrate.

Related

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.

Combobox Autofill and select Microsoft Access

I have a combobox with 2 columns (ICD10.[Code], ICD10.[Text]). I want to be able to search-suggest from both columns, and if I search after Kolera, I want to be able to select it, and then it will put in the ID code, not the name.
How do I do this? or what should I start searching for? I don't even know what I'm supposed to search for to solve this problem.
Heres a picture of my combobox
http://i.stack.imgur.com/tvFTk.png
If you want to be able to search after the ICD10 code and the name, you will need two combo boxes. The first is the one you already have which enables you to search for the code. For the second, you should make a copy of the first, then sort your data source by the ICD10 name column (is not absolutely necessary but makes sense when viewing the dropdown list) and changing the width of your first column (the ICD10 code) to 0 in order to prevent the list from showing your first column.
Both combo boxes will still contain the ICD10 code, but the second one will allow you to select the code by the name column.

Fixed row in SSRS Child Group

Hi below is an image of my report which utilizes a toggle. The toggle data is only one row which will then contain 50+ records, as well as column headers for that data.
I am wondering if there is a way to Fix these (sub) column headers after they have been toggled open?
I can get the first row Fixed, and when using the same techniques on the Child Group I receive the message:
The tablix 'Tablix1' has an incorrectly set FixedData property. FixedData is not allowed to be set on row TablixMember, unless it is also set on the first row.>
But, when it is set on both rows, neither of them act as though they are Fixed Data :/
I don't even need the first row fixed but if anybody has suggestions please help!
Below is a link to a picture of the report, you'll notice the yellowish row with my toggle, and i would like the column headers below that to be fixed. Is this possible??
https://www.flickr.com/photos/125488420#N02/14450152092/
The row groups below: (I KNOW ABOUT (Static) vs Static.. This image is of the original version. Please just note which rows should be Static headers, please done make that the only content of your response)
That said, I think my grouping is the issue, but I'm struggling to get it the way I want
https://www.flickr.com/photos/125488420#N02/14450154942/in/photostream/
I have an answer, though it is not what I'd hoped for.
Firstly, in order to have a static row, the first row must ALSO be static.
Further, any static rows need to be "Contiguous" meaning that there cannot be a gap between them (ie rows 1-3 is ok but not rows 1 & 3 only)..
I experimented with some workarounds such as using multiple tablixs, row groupings, etc.
And in the end it was unsuccessful, and not worth continued effort. Unfortunately users will not be able to have the headers follow them down. :(
If somebody has a solution or Non-Contiguous Fixed data is allowed in future releases please post!

Multiple tables/tablix depending on query

Is it possible to display dynamic number of tablix(es) in a report?
That is, if we do not know the number of tables/tablixes to be displayed in advance.
The requirement is that all the output tables will have exact same structure (row and column lables, groupings, etc.).
If you are using data from a single data source, you could achieve this result by using a single tablix, having the highest grouping on the item(s) you want to use to break up the tablix and including a page break as part of that grouping.
For now, I found a way to solve it. Created a static row within the top group and set set its RepeatOnNewPaAge=true. Remove the borders, so that it looks like a separate text above the table.
This way, it prints the latest group info at the top (because it is part of the group) and also gets displayed on every page, because it is statc. Cool huh? :-)

How to get group headers to span a Tablix column

I am using Microsoft Reporting Services (rdlc, that comes with Visual Studio 2010)
Suppose I want to create a report that has a Group Header, detail rows, and a group footer.
(I'm using Tablix, but if there is a different way, I'm open to it).
Now, there are several columns, but I want for the group header to span the columns. Is that possible?
Another question:
Suppose I want to conditionally span columns in my detail row, is that possible? (and how?)
Say you have teams/reps and you want to send them their leads/appointments to work on for the day.
A lot of tutorials for grouping in a RDLC Tablix look like this:
But you want it to look like this:
Step by step, here’s how I’ve figured out
Add your table (Tablix) and ensure the DataSetName property is set
Highlight the details row and right click. Add a parent group to the row
Set the group by to e.g. TeamDescription, and check Add group header
The Row Groups panel should look like this. The indent for the Details is needed.
OK, at this point you’ve got what you don’t really want. ANDY and BELINDA are going to appear in a column to the left of your info.
But that’s fixable. In the spare cell above e.g. ApptStart enter e.g. [TeamDescription] and right click on it and choose to merge the cell across the other three columns. Set its alignment to center. Maybe bold too.
Then delete the first column as that’s now redundant.
Here’s how it should look by now:
You can get a field to span columns by selecting a few of the header fields and selecting the "Merge Cells" option.
As for conditionally spanning, you can't do that directly but I can think of a workaround. It really depends on the data you have so for a better answer you need to provide more information.
You could have two detail rows and conditionally hide one or the other. In one row the cells could be merged and not in the other. The only thing you couldn't necessarily control with this technique is the order of the rows, but it might work.