Click here to Skip to main content
15,063,085 members
Articles / Database Development / SQL Server
Tip/Trick
Posted 17 Mar 2010

Tagged as

Stats

26.8K views
1 bookmarked

Reporting Services Hide dulpicate row

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
17 Mar 2010CPOL
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)

Share

About the Author

Mycroft Holmes
Retired None
Australia Australia
Started my programming life writing Excel 1.0 macros, God what a long time ago.

Now I'm a dotnet developer, I get to influence direction, play with new toys, build stuff, life is wonderful.

Greatest buzz you can get, walk past a row of desks and see your application running on all of them (and getting paid).

Greatest irritant, pouring 12 months of knowledge and experience into an empty head only to have it leave.

Comments and Discussions

 
GeneralSSRS Hide Duplicate Row Pin
Hamza Javed29-Apr-15 4:19
MemberHamza Javed29-Apr-15 4:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.