Thursday 27 October 2011

How to burst a Crosstab and Charts in cognos

Hi Guys

Below are the steps to burst a crosstab report

1) Add the burst key to a data container with one dimension, such as a list report. To burst a data container with multiple dimensions such as a chart or crosstab, create a master-detail relationship between this query and a single dimensional query, and then add the burst key to the single dimensional query.

2) Drop the crosstab within a list object that contains the burst key. Please see the attached Cognos 8.2 report spec going against the GO Sales and Retailers package.

3)Create a list report with the data item (Staff Name (Multiscript)) that you want to burst on as your first column. This will be the master list.

4)Insert your chart or crosstab as the second column of the list. This automatically creates a second query, which will be the detail query.
Add data items to your crosstab as needed. (Order Method as Rows, Order Year as Column, Quantity as Measure)

5)In the list, create a section with the item you want to group on. This is for formatting only.
Hide the list column title under the List property General -> Column Titles -> Hide.

6)In the Query Explorer, add the burst key data item that is in Query1 to Query2 (Staff Name and Email) Select a crosstab cell and use the ancestor tool to move up to 'Crosstab' In the properties for the crosstab, edit the Master Detail Relationship property to link the burst key in both queries. (Staff Name)

7)Click on the row section of the crosstab (Order Method in the example provided). In the properties pane under Data, open the Properties dialog and click on the box for the burst key so it is checked.
Set Burst Options to burst on the list object's burst key.
Burst the report and view the results.

No comments:

Post a Comment