views:

34

answers:

1

Is it possible to have add a row to an SSRS 2008 Matrix that spans all of the matrix's columns?

This crude diagram shows roughly what I'm looking for:

visual example of the matrix layout I'm looking for

The basic idea is that each line item is a person, and each column is a field in a form for that person. The fields themselves are dynamic (and implemented as column groups on the matrix). Additional column groups are included to append non-dynamic form fields, like the time the record was entered and who entered it. Under each person's record is a comments field, which should span all of the form fields above it.

At the moment I have the matrix embedded in another tablix, with the name and fields in the matrix and the comments in the parent tablix. This works for the data (each instance of the matrix ends up being one row), but the header repeats too often (once per person) because it's attached to the matrix. The only thought I have as to how to fix this is to create another matrix in the parent tablix with the same grouping and use it to display the headers... But this will require quite a lot of manual synchronization to keep the two matrices the same.

A: 

[Edit]

After several attempts, I'm going to say this isn't possible in SSRS. The best I could come up with is a group footer that spans columns 1,2, and 3, but not the User column.

[Original Response]

I recently did something similar to this.

First, what tool are you using to create SSRS reports? (I used SQL Server Business Intelligence Development Studio)

  • You'll want to create a row group (grouped on Person)

  • Append a row to your table in "Design" view (Right click, "Insert Row --> Inside Group - Below").

  • Add an expression to the row that pulls the value for your "Comment" column (=Fields!Comment.Value).

Let me know if that helps...

TexasViking
I'm using Visual Studio 2008. The matrix already has a row group on the person field... Did you mean to add another one somehow? When I add a new row, it displays in the designer with one cell for each column group. I'd like it to have one cell for all of them.
AaronSieb
Highlight all of the cells in the row, right click, and click "Merge".
TexasViking
Unfortunately, the merge cells option doesn't appear to be available when I have cells from multiple column groups selected. I need a cell that spans multiple column groups... Which seems to be the main problem here.
AaronSieb