I have a report in SSRS 2014 (in SharePoint 2013 integrated mode, although I don't think that matters) that I have two copies of. One copy, when run, runs the following query, and returns data in the report as expected:
exec reports.sp_EvalQuestionsAndAnswers @EngagementCode=N'Engagement1',@LabIDs=NULL,@StartDate='2013-08-01 00:00:00',@EndDate='2014-12-18 00:00:00',@UTCoffset=-6
The second copy, when run, runs the following query, with slightly different parameters:
exec reports.sp_EvalQuestionsAndAnswers @EngagementCode=N'Engagement2',@LabIDs=NULL,@StartDate='2014-04-30 00:00:00',@EndDate='2014-12-19 00:00:00',@UTCoffset=-6
When running both of these in Management Studio, they both return hundreds of rows, as expected. But, while the first report returns data as expected, the second report shows its no rows returned
message from its central tablix.
I know the queries are as I've shown them because I can see them in SQL Profiler.
I even deleted the second report, copied the first over, and changed the parameter values (that's the only change I can see, and in fact that's not a manual change - they come from some logic in the report itself based on where the report is published in SharePoint), and had the same result happen. So I know I didn't break the report in Report Builder, because I haven't touched it in Report Builder.
I don't believe neither SSRS shows no records in report but query returns results nor Reporting Services - Multi-value parameter query returning no results match my situation, because I don't have any multi-value parameters.
What else should I be looking at?