Filter Help needed !!

  • In SSRS 2005, how can I add this check (what do I have to put in the Expression, operator, and value in filters tab of table properties) to my table filter to ensure only customers that match one of the ORs are viewed in my report?

    HERE IS A PRINT SCREEN OF THE FILTER TAB WHERE i WANT THIS ALL TO HAPPEN...PROPERTIES OF MY TABLE:

    http://www.photopizzaz.biz/filtertab_ssrs2005table.jpg

    essentially I want this check to filter records on my table...match to this criteria from my dataset:

    (Fields!Branch.Value = '00002' and

    Fields!CustomerNumber.Value = '0000002' or

    Fields!CustomerNumber.Value = '0000003' or

    Fields!CustomerNumber.Value = '0000004' or

    Fields!CustomerNumber.Value = '0000155' or

    Fields!CustomerNumber.Value = '0000156' or

    Fields!CustomerNumber.Value = '0000159' or

    Fields!CustomerNumber.Value = '0000160' or

    Fields!CustomerNumber.Value = '0000161' or

    Fields!CustomerNumber.Value = '0000118' or

    Fields!CustomerNumber.Value = '0000153' or

    Fields!CustomerNumber.Value = '0000152' or

    Fields!CustomerNumber.Value = '0000108' or

    Fields!CustomerNumber.Value = '0000158' or

    Fields!CustomerNumber.Value = '0000133')

    OR

    (Fields!Branch.Value <> '00002' and

    Fields!CustomerNumber.Value = '0000053' or

    Fields!CustomerNumber.Value = '0000058' or

    Fields!CustomerNumber.Value = '0000072' or

    Fields!CustomerNumber.Value = '0000073' or

    Fields!CustomerNumber.Value = '0000079' or

    Fields!CustomerNumber.Value = '0000080' or

    Fields!CustomerNumber.Value = '0000143' or

    Fields!CustomerNumber.Value = '0000146' or

    Fields!CustomerNumber.Value = '0000157' or

    Fields!CustomerNumber.Value = '0000135')

  • will look for a solution. but can you not just use a stored proc for this, coz it might be easier.

    i would probably have an initial screen for putting the parameters and then call the rs report


    Everything you can imagine is real.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply