JOIN ON multiple datasources in one report
I have a report that has an Access datasource, a ODBC datasource and a SQL server datasource. Can I join on multiple datasources without using a linked server ?
March 28th, 2011 11:07pm

You can do this by utilizing subreports. That is the only way I know of however. There is no way to link the datasources together into a single table within SSRS.
Free Windows Admin Tool Kit Click here and download it now
March 29th, 2011 3:23am

Reporting Services does not support joining multiple data sources. Your options are to use OPENROWSET feature of SQL Server or to use the new Lookup function.
March 29th, 2011 7:19am

Thanks.
Free Windows Admin Tool Kit Click here and download it now
March 29th, 2011 9:14am

Yes, you can do that. Create separate datasets in your report, each that fetches data from a different data source. You could then use the LOOKUP functions available in SSRS to query each of the data sources as required. You should have some sort of a Key column that is common to each of your datasets. Should not be a problem then. With this, you could have a single tablix control bound to a main dataset and can use the LOOKUP functions as expressions within the fields. HTH.
March 29th, 2011 10:15am

Hi fixitchris, Just give some additional information, Lookup function is only available in SSRS 2008 R2 currently. Lookup could retrieve the value from the specified dataset for a name/value pair where there is a 1-to-1 relationship. For more information about Lookup Function (Report Builder 3.0 and SSRS), please see: http://msdn.microsoft.com/en-us/library/ee210531.aspx Thanks, Challen FuPlease remember to mark the replies as answers if they help and unmark them if they provide no help.
Free Windows Admin Tool Kit Click here and download it now
March 30th, 2011 12:59am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics