Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

in operator filter

Status
Not open for further replies.

jmk418

MIS
May 24, 2004
99
US
Hi all
I am trying to filter a table in reporting services 2005 using the "In" operator. If I use the following code then I get results back but I cannot figure out how to add other requirements.
Code:
 =("e")
I have tried the following all with no success.
Code:
 =("e, f")
Code:
 =("e"), ("f")
Code:
 ="e, f"
Does anyone know what the correct syntax is?

Thanks in advance.
 
the filter you are applying is on the table iself in the report designer and not in your SQL statement correct??
 
Correct. In my stored procedure I am returning all codes (a - i) so that I can display the number of each in a graph but I wanted to use the same stored procedure in a table below the graph but only display certain codes (e - i) in the table. This can be done using multiple OR statements in the table filter but I would like to clean it up and use an IN statement.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top