Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSRS: repeat tablix left-most row group value on each row

I have a tablix in an SSRS 2008 report. It has two-level row groupings, and I'd like the value for the left-most grouping to continue to be displayed on each row. Eg, I get this:

group1  subgroup1  500.00
        subgroup2  250.00

... but I'd prefer...

group1  subgroup1  500.00
group1  subgroup2  500.00

I can't seem to find the option for this. Is it a strange thing to want?

Thank you, Bill

like image 888
BillVienna Avatar asked May 15 '09 11:05

BillVienna


People also ask

How do you repeat a row in SSRS?

Right-click the row, column, or corner handle of a tablix data region, and then click Tablix Properties. In Row Headers, select Repeat header rows on each page. Select OK.

How do I keep groups together in SSRS?

At the bottom of the report builder, you will see two boxes, Row Groups and Column Groups. Select the Column Groups drop down, click "Advanced Mode" and then in Row groups highlight "Details". In Properties under the "Other" section, select "True" for Keep Together. and save.

What is keep together in SSRS?

The keep together property attempts to keep individual rows on the same page, not all the rows. i.e, if you have a detailed row that is filled with content spanning multiple lines, that will still be kept together in the same page when possible.


2 Answers

You can simply edit the upper reporting level, to be grouping on both groups at the same time, this will cause your desired behaviour.

I had to resort to this solution once, where "hide duplicates" didn't seem to achieve the desired result.

like image 182
Grubsnik Avatar answered Sep 27 '22 21:09

Grubsnik


Currently, what I've found to be a good way of determining whether or not the repeated values of a group would show up in a SSRS report, is to create the Groups and build your report based on the groupings. Secondly, take the groups fields and duplicate the column to the right hand side of the report. Making sure that you've included all the columns needed and totals are correct; delete the grouped columns. When you do this, you will get a popup asking if you want to delete the group or just the columns, chose columns - this will keep the format of the initial report and keep all of the total line as well.

like image 20
Marcus Avatar answered Sep 27 '22 20:09

Marcus