Passing multi value parameter to subreport

  • Hi Experts,

    I have a parent and child report and i pass a multi value parameter to the child report from parent. Parameters in both reports are multivalued. It works. But only if all the parameter values exists in the child report parameter. But here both report gets parameter from two different databases so they don't have same values.

    For Example :- Child report parameter may have values like : 1,2,3

    while parent report parameter has values like : 1,2,3,4

    So what happens is, when i pass these values from parent to child, as '4' is not present in child report nothing gets selected in child and the report doesn't run. On the other hand if i select only 1,2,3 and leave 4 out then it runs perfectly.

    BI Developer
    SSRS, SSIS, SSAS, IBM Cognos, IBM Infosphere Cubing services, Crystal reports, IBM DB2, SQL Server, T-SQL
    Please visit... ApplyBI

  • I think you need to filter the values you are passing to the subreport to make sure you are not passing any invalid values.

  • Daniel Bowlin (10/11/2013)


    I think you need to filter the values you are passing to the subreport to make sure you are not passing any invalid values.

    How can i do that ?

    Any help is much appreciated. it's urgent

    Thanks,

    Amar

    BI Developer
    SSRS, SSIS, SSAS, IBM Cognos, IBM Infosphere Cubing services, Crystal reports, IBM DB2, SQL Server, T-SQL
    Please visit... ApplyBI

  • Solved that by MultiLookUp ssrs function. Thanks

    BI Developer
    SSRS, SSIS, SSAS, IBM Cognos, IBM Infosphere Cubing services, Crystal reports, IBM DB2, SQL Server, T-SQL
    Please visit... ApplyBI

Viewing 4 posts - 1 through 3 (of 3 total)

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