My colleague Alan Eldridge, BI Technology Specialist at Microsoft, put together a great post on incorporating Reporting Services reports in Word and PowerPoint. With his permission I am making it available to you.
This post talks about incorporating the report into Office/PowerPoint as opposed to exporting to these formats. The report information is positioned at the selected location in the document, and for it to stay as refreshable content.
1) Incorporating in Microsoft Word
I thought this might be possible, using Fields in Word, and with some poking about I managed to get it to work.
Firstly, open your Word document and insert a Field object:
More information on the URL format can be found here:
You can also use a "LINK" field to embed the report output – this gives a little more flexibility in how the content is to be interpreted.
To refresh the object, simply right click on the report content:
2) Incorporating in PowerPoint
Unfortunately there isn’t any native way to do the same thing, as PPT doesn’t have the same concept of the Field object that we can use as a container for the SSRS output. We can embed the report output as an image into the document by inserting an image and pasting in the URL to the report as shown below:
However, this doesn’t retain the link information so the image is not refreshable.
Enter a very useful PPT addin called LiveWeb. It allows you to embed a web frame onto a PPT slide and have it refresh each time you run the slide show. So by providing the appropriate URL to the report viewer we can have updating SSRS output directly into our PPT. Woot!
A couple of caveats:
- It seems the addin only works with the 32-bit edition of Office. I was getting error messages when I tried to use it with my host machine 64-bit installation.
- It’s an addin so it’s a separate file that would need to be deployed to each client machine that need to run these slide shows.
- The content of the web page is only shown when the slideshow is running – in edit mode there is a placeholder image as shown below.
At the suggestion of Shashank (Me ), I did some further fiddling to see if we could get a similar result by embedding a Word document with an embedded IncludeText field into the PowerPoint slide. And as it turns out, it works!
Firstly, open Word and link in your required SSRS output as documented in point 1 above. Then select the part of the Word document that includes the field and chose "Copy". Hint: to accurately select the field, right-click on it and choose "Toggle Field Codes".
You can then paste the selected text from the Word document into this frame and the Field object will still allow you to refresh the SSRS content:
Thank you once again Alan for allowing me to post what I believe a lot of BI users will find handy.