How to Select Multiple Columns From A parameter in SSRS.

  • I have a requirement like this..

    I have Two parameters Called "Project Title" and "Columns"

    In Project Title we are selecting the projects.

    In Columns we are selecting corresponding column names of that project.

    My problem is how can I select project corresponding “ Column names “ in the second parameter ???

  • You need to set up your Columns parameter to depend upon the Project Title parameter

    Basically in the Columns parameter you create your query with a where clause that is fed by the value selected in your Project Title parameter

    Something like this

    SELECT Columns

    FROM tblProjectColumns

    WHERE ProjectTitle = @ProjectTitle

    The order of parameters matters as well, your Project Title Parameter should be on the top of the list.

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

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