Solved

SSRS Filter Groups

Posted on 2013-01-08
6
354 Views
Last Modified: 2013-03-02
Hi was wondering how to filter groups in reporting services.  I need to filter out a group where column1 contains a D:

Group 1:  this group of rows should not be displayes
5011      
5015      
D5110      
5003      
5011    
5000      

Group 2: this group of rows should be displayed
3400      
9992      
3302

So far my report shows everything.  Thank you for your help in advance
0
Comment
Question by:thomasm1948
6 Comments
 
LVL 25

Expert Comment

by:TempDBA
Comment Utility
So, if D comes before any digit, you want to exclude all the numbers that start with that digit?
ITs better you do it from the backend itself while creating your dataset.
0
 

Author Comment

by:thomasm1948
Comment Utility
No I need to remove the whole group.   Attached is a print screen of my current report.  Where group of rows that contain a D-Code in it, I need to remove the whole group.  It is kind of hard to explain but I think the print screen will make more since.

Basically I need to remove the group that contains a D-Code in any one of the rows within in the group
0
 

Author Comment

by:thomasm1948
Comment Utility
Sorry here is the attachment
Capture.GIF
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 22

Expert Comment

by:Nico Bontenbal
Comment Utility
I haven't tested this so I'm not sure it will work.
You could try an expression like this for the hidden property of the group:
=max(iif(left(fields!column1.value) = "D",1,0))=1

Open in new window

0
 
LVL 37

Accepted Solution

by:
ValentinoV earned 500 total points
Comment Utility
To the participating experts: this is a duplicate question, you may want to refer to the original for more info: http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SQL_Server_2008/Q_27985272.html
0
 
LVL 21

Expert Comment

by:Alpesh Patel
Comment Utility
Just go to Column/Row group property-> visibility


In that Write expression to conditional visibility of group.
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

A recent questions about how to add SSRS named instances, couldn't find any that talks about SQL server 2008, anyway I decided to help by creating some screen shots. The installation is straightforward, you just pop the SQL server 2008 installati…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now