Master detail relationship in cognos 10 user

Cognos Master Detail Relationship In Report Studio - MindMajix

master detail relationship in cognos 10 user

Master-Detail Relationship in Cognos Report Studio. 1. Create a List report with just one column Product Line. 2. Unlock the Lock Symbol --> Insert another List. "I want to create a master detail relationship in a report as I have to add two use this column in the master-detail relationship. Posted by cognosfolks. You can use a master-detail relationship to show data from separate data 10,; Forum Citizenship: +/; Cognos Software Muppet.

Master-Detail Relationships in Cognos | PerformanceG2

Associate a report page with the master query and use a data container, such as a list or crosstab, for the detail query. You cannot display parent data in the child frame or child data in the parent frame.

Also, you cannot perform calculations across master detail queries. You can use a master detail relationship to show data from separate data sources in a single report.

master detail relationship in cognos 10 user

However, the data sources must be contained in the same package. With the dynamic query mode, master detail reports with a crosstab report object are optimized to use a single query whenever possible, rather than a separate query for each report object instance.

Before you begin To create a master detail relationship using queries that reference two different dimensional data sources, you must first link the members by aliasing the levels that contain the members. Procedure To use a parent frame for the master query and a nested frame for the detail query: Add a second data container to the object you inserted. You can insert a list, crosstab, chart, repeater table, or repeater into a list. You can add a list to a repeater table or repeater.

Add data items to both data containers. To associate a report page with the master query and use a data container for the detail query: Click anywhere in the report page.

IBM How to create a Master Detail Relationship - United States

Click the Show properties iconand In the Properties pane, click the Select ancestor icon and click Page. Set the Query property. Click the Toolbox icon, drag a data container to the report. To link a data item in the master query to a parameter in the detail query instead of to another data item, create the parameter in the detail query.

master detail relationship in cognos 10 user

Use parameters to filter values at a lower level in the detail query. Click the Queries iconand click the detail query. Click the Toolbox icon and drag the Filter object to the Detail Filters box. In the Expression Definition box, create the parameter. Click the Pages iconand click the report page. If we look at the trace, we see exactly that: If we were using DQM, and if the master-detail optimization governor was enabled, Cognos might be able to drop the number of queries down to 3.

One for the list of regions, one for the crosstab, and one for the graph.

How to Create Master Detail Relationship in Cognos Report Studio

The queries would be cached and Cognos would intelligently split the data there. In addition to sectioning data, we can pass values to parameters.

This allows us to solve complex requirements.

master detail relationship in cognos 10 user

Dynamic Filters By populating a table with filter expressions, we can generate different pages with the same crosstab but different filters. This happens more with operational systems than data warehouses, but there are some cases where it is useful. In this example, we are looking at specific managers working against specific promotion campaigns. Each details would have different filters applied. This does not need to be limited to specific campaigns.

This is not limited to filters, columns can be applied as well.

master detail relationship in cognos 10 user

By using the token prompt inside a field, and populating that with a field reference, it is possible to dynamically modify a list. As a practical example, consider a scenario presented by one of my past clients. A series of reports needed to be bursted to a number of managers. Each manager had a unique set of filters to be applied. Some of them needed to see data at a high level of granularity, and others needed to see detailed data.

The standard method, by joining the burst table to the necessary fact tables, would not work here due to the vast range of requirements.