I'm using SQL Server Data Tools 2012 (Visual Studio 2010) and have a multi-tab report that does a page break on each combination of SalesTerritory and ProductType.
I can label the worksheet tabs of the resulting downloaded Excel spreadsheet by adding a group-level PageName property expression in the Properties window that concatenates the two current grouping criteria values:
What I'd like to do now is add the same string to the page header of each report page. I can't simply add the above expression in a text box, since it doesn't appear to understand the current grouping context of the report body. How do I show the current tab label on the page header of each worksheet?
I can label the worksheet tabs of the resulting downloaded Excel spreadsheet by adding a group-level PageName property expression in the Properties window that concatenates the two current grouping criteria values:
=Lookup(Fields!SalesRegionID.Value, Fields!SalesRegionID.Value, Fields!SalesRegionCode.Value, "SP_SalesRegion") + " " + Lookup(Fields!ProductTypeID.Value, Fields!ProductTypeID.Value, Fields!ProductTypeName.Value, "SP_ProductType")
What I'd like to do now is add the same string to the page header of each report page. I can't simply add the above expression in a text box, since it doesn't appear to understand the current grouping context of the report body. How do I show the current tab label on the page header of each worksheet?
- Mark Z.