I know this question has been asked before, but all questions were for reports being accessed using C# or VB.NET code. My problem is that I am building and accessing the report using Business Intelligence studio, I am basically trying to add a sub report for a report, and I made sure from the parameters and they are OK. However when I try to access the report containing the subreport, I get the error
Data retrieval failed for the subreport, 'Subreport1'.
I also tried deleting the .data
files but the same problem persisted.
I faced similar issue in past and in my case below were the culprit's
Parameter from main report is sending null value to sub report.
Data type of parameter were different than actual data type.
I had the same problem when the dataset’s subreport filters the data by the "Filters" functionality (Filter tab), but when change the filter method by the use of sql parameters (Parameters Tab) it Works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With