COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => COGNOS 8 Administration => Topic started by: Shailaja0520 on 21 Apr 2011 06:05:27 AM

Title: Report to run with multiple datasources at a time
Post by: Shailaja0520 on 21 Apr 2011 06:05:27 AM
Hi,

I have 2 data sources from 2 different databases.

Can we run the report with multiple datasources at a time? If yes how to achieve this?
or everytime it  will prompt the user to select the datasource while we run the report?

Title: Re: Report to run with multiple datasources at a time
Post by: Yunus on 26 Apr 2011 11:22:15 AM
If both data sources are referenced in a single package you can report from either one or both at the same time.  That is if you have a join between the two.
Title: Re: Report to run with multiple datasources at a time
Post by: Arsenal on 26 Apr 2011 02:55:16 PM
I assume you meant one datasource with 2 nodes/database connections because a report/package cannot have 2 different datasources. But a datasource can have 2 different database connections/nodes within it.

And yes, doing so will prompt the user to choose a database everytime you run the report.

if your users are neatly spread up into two groups, one for each database, then you can set security appropriately on each node and they won't get prompted, as Cognos will automatically pick up the database connection based on the group the user belongs to