SSRS Report Insert External files into final pdf report - reporting-services

It's an ERP application, job traveller report in pdf, one page per operation.
Each operation can have associated drawings, usually one but it can be two or three or even none. Drawing IDs are referenced in a dwgs field for each operation and drawings which are single page pdfs are available to the server.
Now we need to generate SSRS report inserting each operation's drawings after the operation page so we get a single multi page pdf with operations and drawings together.
Resulting pdf may look like the following:
Operation 1
Drawing 1.1
Operation 2
Drawing 2.1
Drawing 2.2
etc...
Looking for some leads how to do this if possible.
Thanks

Related

Chart rendering too slow

I have a report containing 6 charts each displaying some percentages over an interval of time.
I have put all the 6 charts in a separate RDL file and using it as a sub-report in my main report which also contains a matrix.
The issue I am facing is the chart becomes too slow (>10 s of rendering) as soon as I implement the drill down functionality. Without drill down its about 1 s.
The drill down report parameters do not have any functions - I have already converted all of them to either fields or parameters.
Its not that big of an issue yet - but we have some major changes coming to the report which may increase the number of charts to about 15 - and all of them will contain drill down action. Once that's implemented the report will definitely take more than 30 s which would not be acceptable.
Any pointers would certainly help.
Thanks.
Drill downs can add a huge amount of output to a report, depending on the number and complexity of them. I've seen that each drill down in our reports adds about 2K to the size of the rendered report. Depending on how you added the drill down to the chart, every single point could be a separate link, and these add up fast.
Run the report without drill downs, and export it to .MHTML.
Run the report with the drill downs, and export it to .MHTML.
Compare the size of the outputs.
The reason for .MHTML output is that one file contains everything. The file sizes should help you do the arithmetic with regards to the number of drill in your reports and help you reduce it to an appropriate amount.

Table of Contents Page with Dynamic Page Numbers

I have a Master Report with multiple sub-reports that generates a PDF. It will be printed by our clients, so it needs to have page numbers and a TOC to reference where the particular sub-report resides in the printed report.
SSRS doesn't have the ability to create a TOC with pages.
What is the best work-around for this problem?
Estimating the page number that a particular sub-report starts on from page size, row size, nb of rows etc, isn't an option, because the reports have different fonts and row sizes depending on the data.
Thanks
Ok, I've found an adequate solution that I've built a POC on - and it works.
Its a two pass approach, using custom external assemblies. First rendering sub-reports to populate a Table of Contents table, and then running the master report and displaying the TOC results on the TOC page, and after that the sub-reports agaain.
Here's the link that got me going.
Regards,
Jason

Triggering Report Distribution in BO 4.0

I have a universe and multiple reports built on top of that universe.
Is it possible to configure that when a certain data subset in universe comes, the certain reports are sent to the end-user (stored on file system in PDF format)?
Basically, the question is - is it possible to create a trigger based on the data that are comming in the universe. This trigger triggers report distribution (not all reports, but only specific ones).
As per my understanding you need to have this reports in some file system in pdf format. am i right? I f so you can schedule the particular report that needs to be distributed.
Regards
Niki

export ssrs report data into multiple excel files

I am calling reports through Data Driven Subscriptions. We are having very huge data (in millions). So the reports will be generating very large excel files.
We have provided download option to user for downloading created report excel files. But if file sizes are very huge, User is not able to dowload the files.
Does anyone have an idea how to split report data to multiple excel files. Does SSRS can handle it? After some size limit split data to next file. Like generate multiple files for same report call.
You can split the records into multiple shits by going to page break option in report properties.or you can go to tool tip and write custom expressipn there to how much data you want to see in one shit.
or you can use the help of SSIS to split the report into miltiple excel work book.
AFAIK there is no feature in SSRS that handles this.
You will have to roll your own solution: generate the report asynchronosly (or scheduled) server side, then create an application to distribute the files in seperate parts.

Reportviewer Paging

I use ReportViewer in Local processing mode and obtain data with linq-to-entites (IQueryable<>). The data also contains images, which are rendering in the report inside a table. The resulting dataset has about 30000 items when run on a sample database.
Even though the report is divided into pages, the ReportViewer still loads all records simultaneously. I changed image source from [Database] to [external], and implemented image loading through a service (.ashx) to speed up the SQL query. Still the report viewer loads all images (not only those for the displayed page) and only than rendering report.
Do you have any idea how I can increase performance for my report? Why doesn't the report viewer use paging, but loads all data instead? Maybe I'm doing something wrong? How can I make reportviewer to load data page by page.
From the MSDN page on When to Use Local Processing
"Because all data and report processing is performed on the client, you might encounter performance degradation if you attempt to process large or complex reports and queries."
Source: http://msdn.microsoft.com/en-us/library/ms251704(v=vs.80).aspx
Possible Solution: Try adding a Report Filter to break up the result set in a logical manner.