SSRS subtotals different in Report Preview vs when Deployed - reporting-services

If I run a report within SSRS developer, I show no subtotals in specific rows, exactly as it should because there is nothing to subtotal. However, if I deploy the report, those same rows have an erroneous subtotal in them. I ensured I deployed and ran the correct report. I even deleted the report and re-deployed. I need to correct this because it is an important report that gets emailed to the entire company.

I believe This is very classic case of Data been saved as Cache in your local System. But when you deploy the Report, there is actual Data available on application.
What you need to do is delete this FileName.rdl.data file and try your report again in Developer, it should get update data from application

Related

SSRS report showing different data when it should match

I have a report that is called from a text box action. When I run the report in my Visual Studio looking at production data I get 9 records returned. When I deploy the report and run it I only get 5 records. I have deleted the report on the report server and re-deployed but I am getting the same results. I have added a footer and removed columns and changed heading so I know that the version that is on the report server is the one in my Visual Studio project. I have checked all the filters on the matrix and can't figure out why the report doesn't match.
Any suggestions on where else to look for why the data isn't matching?

Is it possible to loop through datasets in SSRS report and save each dataset as an excel spreadsheet?

I am new to SSRS and I just want to know if it is possible to loop through datasets in an SSRS report and save each dataset separately as an Excel spreadsheet.
For example, if we have a report with 5 managers, if you click on each one of these managers you can see/drill down to all the supervisors that are under this manager and if you click on any of those supervisors you can see all the employees that are under that particular supervisor. Now, what I'm trying to do is I want to save each one of the managers' (and supervisors' eventually) downline in an excel document (although it really can be in any format as long as they can later drill down on it) so that each manager can only get his/her own supervisors/employees. Can this be done in SSRS and if so I'll try to figure out how. Also, if you think there is a better way to restrict every manager from seeing every other manager's supervisors employees please let me know. The report that I currently have is perfect but everyone can see other people's supervisors/employees and their data.
Thanks!!
if you want to generate flat files to send out, then you have to create a parameter on your report, deploy it to the report server, and then create 5 subscriptions to that report.
in each subscription you can set the parameter and where you want to write/email the file.
If the subscriptions part doesn't work well for you (if you have too many to manage), you can use data driven subscriptions (enterprise edition feature), rs.exe scripts (if you figure out how it works), or use my new cool tool (http://busysreports.codeplex.com)
also, you don't have to generate flat files, you can also set up some security so when the managers open the report in reporting services they see only their data.

Sub-Report giving error: Report cannot be shown

I have a SSRS Report with six sub-reports. The sub-reports are using the same shared data source which the main report is using.
When I deploy the report and execute, the sub-report place holder shows error: Report cannot be shown.
I thought it could be due to shared data source. Therefore, I created separate shared data source for each sub-report. This works. The report starts showing all the results.
Please let me know what is this issue. Even though it works, I don't want to create separate shared data source for each sub report.
This is a known defect in SSRS 2008. I'm not sure if it has been patched yet, but it has been fixed in SSRS 2012.
As you have found, the workaround is to use separate datasets.
https://connect.microsoft.com/SQLServer/feedback/details/648560/subreport-with-shared-dataset-throws-error

Is there any possibility to Deploy Single Report in SSRS

I'm having problem with SSRS Report Deployment. I've 2 Hundreds of Reports in my SSRS Report Solution. When, I deploy the Report it deploy all reports which is very time consuming.
Now, what I'm looking for is, I want to re-deploy only the Report I've changed recently.
In BIDS, I didn't found anything to support the feature I'm looking for.
So, If there is any possibility to Deploy a Single Report?
You can just deploy a single report by right clicking on the report itself and selecting Deploy:
One thing to note is that it will also try to deploy any Shared Data Source the report references.
However, if the project level property OverwriteDataSources is set to False this won't affect any Data Source that was deployed previously.

SSRS generate one pdf per record automatically

I've built a report which displays data from a db. This works fine, rendering the report correctly.
My query returns ~40,000 records. I would like to automatically generate a pdf file for each record, named using one of the fields returned by the query.
How do I automate this? I have Report Builder 3, and Visual Studio.
Thanks.
I'd write a report that takes a parameter and generates the report for one record. Deploy to your Reporting Services server.
Then I'd write a quick program that loops through your data and passes each unique record value to the report as a parameter and saves it as a PDF with a unique name. It's quite easy to run reports programmatically and Microsoft have some code to get you started.
If you have Enterprise SKU of SQL Server, look at data driven subscriptions. Another option could be creating report with one record per page, and then splitting resulting PDF into individual PDFs using some free tools.