I have a SSRS main report in which I am using a subreport. Based on some parameter value I want to show the reports.
For example, I have a parameter called "view" in which I have 2 options:
- Detailed view
- Overview
When a user selects the "Detalied view" option it should show the subreport Also, when a user selects "Overview" that data comes from the Main Report.
For both the Reports I am using 2 different datasets. The problem is when I run the subreport separately, it works fine. But when I call it from the main Report for some selection criteria, it shows the subreport. But for some other it gives me error that one or more parameter is not supplied to the subreport.
I don't understand the issue. Please any one has any idea please help.
Thanks in advance.