Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / database / SQL-Server

Reporting Services Hide dulpicate row

5.00/5 (1 vote)
17 Mar 2010CPOL 1  
When grouping data within a List control I need a header table and child table. The data comes from 1 datatable where the 1st #n columns are duplicated for each detail rows.The usual answer to this is to set the hide duplicates value in the textbox. This suppresses the text but the row is...
When grouping data within a List control I need a header table and child table. The data comes from 1 datatable where the 1st #n columns are duplicated for each detail rows.

The usual answer to this is to set the hide duplicates value in the textbox. This suppresses the text but the row is still processes and the real estate for the row is used in the report.

This was snaffled from a 2007 blog and I need to keep it for my reference.

Place this in the ROW visible field, replacing the PK_Field1 with the name of the field you set for Grouping

=(Previous(Fields!PK_Field1.Value) = Fields!PK_Field1.Value)

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)