Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Naming of Excel sheets or tab in SSRS

$
0
0

I am making a report in SSRS that will be exported to Excel. It displays data from all departments in organization. 

The first sheet of the report will have a static name for e.g. "Master Report" and it will display data of all departments in single sheet.

Other sheets will have dynamic name depending on department and will display data of that particular department.

So it will become something like as shown in picture below.

I have already made the Master Report and now I want to display those individual department reports but problem is how do I name those sheets? Both these reports will use different data set. If I set the **InitialPageName** property of report to "Master Report" then it sets this name for all sheets. If I use an expression for e.g. **=First(Fields!Dept_Title.Value, "ALL_DEPARTMENTS")** then it picks up first department name and then use it for all sheets because as I told above, there are two different data sets.  

Using subreport is of no help either because it doesn't show subreports InitialPageName as Excel sheet name and always uses Main reports name.

How to solve this issue?


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>