I have an SSRS report with a subreport. Both, main report and subreport have @param1 parameters that are properly linked and the report runs just fine.
I also have a dataset (MemberDataSet) that returns all members of the certain group that are parameter values for param1.
For example, right now I'm running report three times say for parameters (@param1) AAA, BBB, and CCC. MemberDataSet is querying for each individual group members and a simple query like
Select distinct Param1 from MyParamTable where Group = @GroupParameter
retruns AAA, BBB, and CCC values to be supplied as a parameter.
What I want to accomplish is to repeat the entire report, with it's subreport, for every value in dataset. i.e.
@Param1 = AAA Run the report @Param1 = BBB Run/repeat the report (Append to previously generated report) @Param1 = CCC Run/repeat the report (Append to previously generated report).
What would be the best way of doing this?
Thank you