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

How to merge multiple datasets in reporting services

$
0
0

we are having difficulty in developing a report because the dataset we needed for the report is coming from 2 separate stored procedure. these 2 stored procedure are returninga single table each, and we need 5 columns in the first table and 4 columns from the second table, and present these 9 fields into a table in the report.

To give an illustration, let's say that my first stored procedure returns the following 5 fields from the customer table: first name, last name, address, email, phone. While, the second stored procedure returns the following 4 fields from the orders table: item name, quantity, unit price, discount. The two tables are related by customer_id field which is present in both tables. Customer table has a one to many relationship with orders table.

This could have been easily implemented by using an inner join and writing a sql query. However, due to business requirements we need to generate the report using the 2 stored procedure mentioned. Please let me know if there is any workaround for this. We are using SSRS 2012. Many Thanks in advance


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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