Phone (01457) 858877 or email
SQL Server Reporting Services 2008 R2 includes (among many other features) the ability to detect a report's rendering format, together with a facility for naming report pages. You can combine these two features to create Excel workbooks with individually named worksheets for each member of a group, as shown in this blog.
If you've been following this blog so far, you'll have a report which does different things when being viewed in Excel or other formats. It's now time to work on the Excel version.
To get SSRS to name the first worksheet of your Excel workbook, give your table a page name (here Cover sheet):
|
|
| Select the table then ... | ... set the PageName property |
When you view the report in Excel format, Reporting Services will create a page called Cover sheet in an Excel workbook.
The next stage is to ensure that SSRS creates a different worksheet for each group member (here for each film director):

First, select the group in the grouping pane window at the bottom of the screen.

Secondly, set the properties of the group so that:
When you run this report, as shown in the final part of this blog, you should now get the right thing in Excel or non-Excel views!
SQL Server Reporting Services 2008 R2 includes (among many other features) the ability to detect a report's rendering format, together with a facility for naming report pages. You can combine these two features to create Excel workbooks with individually named worksheets for each member of a group, as shown in this blog.
Comments on this blog
This blog has 2 comments:
Hi NrLehr
I think the answer to that has to be to attend an SSRS training course with us!
Seriously, I would like to blog much more on SSRS basics, and intend to do so at some time in the future. Time, as ever, is the enemy.
Andy