In one report, you can use two different data sets in different report regions. For example, if you have two data sets, say DS1 showing EmployeeDetail and DS2 showing SalesInfo. You can use them separately in two tables that display employee data and other sales data. If you plan to combine this data and use it in one table, this is an option.
Recommended option: rewrite your query to create a single dataset containing the possible data that you want to display in a table form.
It will work, but it will be much slower: use DS1 in the table in the main report, where each row contains an Epmloyee Detail, Wihtin, which Row calls a Sub-Report, passing the EmployeeDetail key, which is associated with the column in SalesInfo. Create a sub-report with SaledInfo data, call this report in the main message that transfers the key value from DS1 to this sub-report.
source share