Add Additional Queries To Existing Ibm Cognos Data Sources - IBM Cognos User Manual

Version 10.1.1
Table of Contents

Advertisement

Dimension Map. If you add a query to an OLAP package data source using the
Add Query From Package or Report option, you will need to manually construct
the dimension.
You can use the Add Query From Package or Report option to add an additional
query to the data source.
Procedure
1. Right-click the empty space in the Data Sources list for your model and click
Insert Data Source.
Tip: If the Insert Data Source option is unavailable, you may have right-clicked
a package or report data source.
2. In the Data source name box, enter the name of the data source and, in the
Data source type box, select Package or Report.
Tip: If you want the data source name to default to the name of the package
that you select in the next step, leave the Data source name box blank.
3. Click Browse to open the metadata browser and select a package or report
from the available list.
Tip: You can also click the drop-down arrow to select a recently used package
or report from the list.
4. Click Next.
5. In the Query Name box, type a name for the new query.
In the New Data Source wizard, you create one query at a time.
6. In the Source list, select the query items to import and click Add to add the
selected query items to the Cognos Transformer query.
7. If you want Cognos Transformer to create preliminary dimensions in the
Dimension Map, select the AutoDesign check box.
8. Click Finish.
You will be prompted to add another query. If you want to add another query,
click Yes and repeat steps 6 and 7. If you click No, a new data source
containing the specified metadata appears. The source columns appear in the
Data Sources list and, if you selected Run AutoDesign, a preliminary
dimensional structure appears in the Dimension Map.
Tip: Use the Data Source Viewer to view sample data and, for supported data
sources, the Cognos SQL or the native database SQL.

Add Additional Queries to Existing IBM Cognos Data Sources

IBM Cognos packages and reports are shown in the Data Sources list as a single
data source with multiple associated queries. When you use the New Model
wizard or New Data Source wizard, you can add only one query at a time.
To add a second query to your package or report, use the Add Query From
Package or Report option. Add Query From Package or Report opens the Query
Definition dialog box, where you can create the new query. When you create the
new query, it is imported as an additional query under the package or report data
source.
Tip: If you imported your dimensions to the Dimension Map from a package
using the Insert Dimension from Package option, you can add another dimension
from that package to the Dimension Map using the same option. This adds the
additional query to your package data source and completes the AutoDesign
Chapter 3. Data Sources for Your Model
35

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents