SSRS FIlter Parameters on previous selected parameters

Posted on 2011-10-21
Last Modified: 2012-05-12
Hi All -

I have 4 parameters for my SSRS 2008 report: A, B, C, D. A and B are independent of each other.

But for whatever A and B are selected - I want them to help filter out C.
So .. select * from tableC where column1 IN (@A) AND column2 IN (@B).

And then parameter D is dependent on parameter C
so .. select * from tableD where column1 IN (@C)

Is the possible in SSRS or do all of my parameters need to be loaded pre-render?

Question by:rmm2001
    LVL 21

    Expert Comment

    by:Alpesh Patel
    yes you can do it at way.

    LVL 7

    Author Comment

    That's how it's set up right now and it's not filtering based off of the parameter I select. It seems like it's loading everything at once for the parameter lists and not posting back after I select one option. Is there a way to make it operate where it posts back after every selection so the lists refresh?

    Thanks for replying!
    LVL 1

    Accepted Solution


    Delete parameter C an recreate it (by refreshing the dataset that contains parameter C).
    If a parameter is dependent by other parameters then it should be created after those parameters.
    LVL 7

    Author Closing Comment

    This seems to be working now. Odd that I had to recreate everything like that though.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Hi, I have heard from my friends that it’s not possible to create Label Printing report using SSRS. I am amazed after hearing this words not possible in SSRS. I googled lot and found that it is possible to some of people know about the Report Bui…
    Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    737 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

    16 Experts available now in Live!

    Get 1:1 Help Now