SSRS reporting | Multiple worksheets using different datasets - reporting-services

I am using SSRS to imbed some of my reports. I can see that we can have single Dataset associated with one report and we can only have one worksheet.
I have 2 datasets which i want to imbed in single sheet but in different worksheets.
Lets say, i have DS1 which i would like to imbed in Sheet1
and DS2, would be in Sheet2, but in same excel.
Please suggest if this is something possible? Just to inform you that i have different columns in both DS1 and DS2

Related

SSRS report built in VS need to export to 3 separate Excel tabs

I have 3 datasets and 3 tablix's or tables in an SSRS report and each has a different page name and the first two have a page break set to End. However, I only get two worksheets generated and the second two are combined into one worksheet.
I have another report that works perfectly and it seems to be set up exactly the same.

SSRS Report - 2 Datasets using Lookup but need separate rows in Tablix

My report is written and working for the most part but the question I have is...is there a way to have multiple datasets in a single report that you can connect between and retrieve multiple rows in a single tablix?
Dataset 1 is connected to Dataset 2 through a Lookup and when I run the report, I get the first record from Dataset 2 but Dataset 2 actually has 20 records that it should be displaying. I know if I do a lookupset and add Environment.NewLine to the end of the lookup, I will get my records on a new line but this is in a Tablix and I need a new row in the tablix. Is that possible to do?
Using Visual Studio 2017 for my report/project.

Naming of Excel sheets or tab in SSRS

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?
Ok I got the solution. Just came to know about Group PageName property. So now I have two tablix in my report. One is at top which is showing Main Report while other is below which will show department reports. I have set InitialPageName property of report to "Master Report" while in Group PageName property of tablix2, I have defined expression Fields!Dept_Title.Value and it's working.

use two different datasets in single report

I have two different-2 datasets with different fileds which are getting populated through two stored procedures with same input parameters.each datsets have different colums and no of columns around 180,my concern is how will i use these two different datsets in single report with two differents fields(two differnt tables).for one dataset i have used report wizard,but not able to figure out for the second dataset.Please suggest for the same..
You can use two different datasets in different reports regions on one Report. For example, If you have two datasets, lets say DS1 showing EmployeeDetail and DS2 showing SalesInfo. You can use them separately in two tables one showing Employees Details and other showing Sales Info. If you plan to merge this data and use it in one table, These are option.
Recommended option : Re-write your query to create single dataset containing possible data you want to show in tabular fashion.
Would work but would be lot slower : Use DS1 in a table in Main Report where each row contains Epmloyee Detail, Wihtin that Row call a Sub-Report passing EmployeeDetail's key which is related to a column in SalesInfo. Create sub-report showing SaledInfo data, call this report in main report passing key value from DS1 to this sub-report.
Specify data set name in third column
Example:
=First(Fields!fieldname.Value,"DataSet1")
Using two different or multiple datasets in a report is not a problem at all, as long as they do not belong to the same data region (charts, tables, etc.)
In addition to Ron's answer, if you are looking to get data from different datasets in one data region, you could also use Lookup or LookupSet in the field expressions.
Additionally, you may also create one dataset and filter out some data from it in data regions. For example, if you have one big dataset of all employees, and you would like to display all employees that joined in the year 2012 in a table, you could filter out the dataset using Filter properties of table.
You can simply add multiple table in your report , and change datasetName from tablix properties for each of your table .
you will also need binding source to fill that dataset .
this.invoiceTableAdapter.Fill(this.ARQutationDataSet.invoice);

SSRS 2008 Tablix containing subreports

I have a report with a Tablix. The purpose of this report is to output an Excel friendly report so that users can work and manipulate columns and cells and sort on data. My Tablix contains 2 subreports. One of the subreports may return multiple rows and when it does, it causes data in my Tablix to merge multiple rows on Excel output.
Note: The subreports are needed because the data lies at to different geographical locations, so webservices are used to return external data.
I had to do some additional work to make sure that multiple rows were not returned and limit the return data to 1 row.