Page 1 of 1

Merge 2 Data Sources

Posted: Tue Jan 14, 2014 6:40 pm
by ksimmons
Is there a way in the report designer to merge 2 data sources into one databand? For example, I am supplying one data source to my report via code. I am grabbing another data source (similar structure) from an XML document. I need to group and display the results from both data sources within one report. Can this be accomplished in the report designer?

Re: Merge 2 Data Sources

Posted: Wed Jan 15, 2014 6:06 am
by HighAley
Hello.

Yes, it's possible. It could be done in several ways.
If you could create relation between this Data Sources, you can add Data Band with one Data Source and get necessary data from other Data Source using this relation.
Maybe you should set the Cache All Data property of the report to True.

Thank you.

Re: Merge 2 Data Sources

Posted: Wed Jan 15, 2014 4:21 pm
by ksimmons
If each Data Source is the following structure:
Customer Name
Street
City
Zip
ID Number

How would I relate these 2 data sources? While they both have the same fields, they have different data. I was under the impression that a relation needed a field with the same data.

Re: Merge 2 Data Sources

Posted: Thu Jan 16, 2014 8:24 am
by Alex K.
Hello,

Can you please send us a sample report with test data which reproduce the issue for analysis.

Thank you.

Re: Merge 2 Data Sources

Posted: Fri Jan 17, 2014 6:56 pm
by ksimmons
Attached is the sample report with the 2 XML data sources. They contain data from 2 different systems that need to be combined into this one report. I a, looking for a way to combine the datasources so that I can group by Agency Name and display all of the customer information in one databand. Thank you!

Re: Merge 2 Data Sources

Posted: Mon Jan 20, 2014 12:19 pm
by Alex K.
Hello,

Unfortunately, it is not possible to show it with grouping or sorting. Please try to combine your data in one data source.

Thank you.