Академический Документы
Профессиональный Документы
Культура Документы
IBMCognosBusinessIntelligence10:TheOfficialGuide
Page 2 / 15
ReprintedforCTS/449913,CognizantTechnologySolutions
McGrawHill/Osborne,TheMcGrawHillCompanies(c)2012,CopyingProhibited
IBMCognosBusinessIntelligence10:TheOfficialGuide
2. From the Launch menu located in the upper right of the screen, select Business Insight Advanced. The Select a Package screen
displays.
NoteYou can also access Cognos Business Insight Advanced from the Welcome screen by clicking the Author Business Reports link and
then choosing a package.
3. Select a package from either the Recently Used Packages area or the List Of All Packages area. For the examples in this chapter, well
use the GO Sales (analysis) package, which is a dimensionally modeled data source. The Cognos Business Insight Advanced startup
page is displayed, as shown next:
4. Click the Create New button. The New dialog displays, listing the report templates available for use as a starting point for creating
reports.
NoteTemplates are discussed in detail in Chapter 8.
Page 3 / 15
ReprintedforCTS/449913,CognizantTechnologySolutions
McGrawHill/Osborne,TheMcGrawHillCompanies(c)2012,CopyingProhibited
IBMCognosBusinessIntelligence10:TheOfficialGuide
5. Select the Crosstab template, and then click OK. Cognos Business Insight Advanced opens with the crosstab placed in the work area.
The user interface contains a Content pane, work area, standard toolbar, Page Layers area, and Context Filter area, as shown next:
Work area Contains the crosstab that will be used to build a report.
Standard toolbar Gives users quick access to many commonly used features. Table 9-1 describes some of the functions available from
the standard toolbar.
Page layers Create sections or page breaks for members to display on separate pages.
Context filter Filter your report to allow for a more focused analysis.
Content pane Contains the Source tab that displays the source data to be used in a report, and the Toolbox tab that displays objects that
can be used in a report. The Source tab for dimensional reporting contains several features that allow you to customize how the source
tree is displayed and how the data is pulled into a report. These features are described in Table 9-2.
Name
Description
Run Report
Run a report in HTML, PDF, Excel, CSV, or XML format; also provides report options
Filters
Page 4 / 15
ReprintedforCTS/449913,CognizantTechnologySolutions
McGrawHill/Osborne,TheMcGrawHillCompanies(c)2012,CopyingProhibited
IBMCognosBusinessIntelligence10:TheOfficialGuide
Sort
Summarize
Insert Calculation
Suppress
Suppress rows and/or columns that have missing values, divide by zero, overflow values, or zero values
Explore
Exclude members, move members, edit sets, drill down, and drill up
Name
Description
Toggle between creating sets when inserting multidimensional data items and inserting
individual members.
4. In the Insert Hierarchy dialog, choose Root Members and click OK.
5. Repeat steps 3 and 4 to insert additional root members. Add the Time hierarchy to the Columns section of the crosstab. Insert Revenue
from the Sales Measures namespace in the Measures drop zone of the crosstab. The crosstab in the work area shows the revenue
amount for all time and all sales personnel:
McGrawHill/Osborne,TheMcGrawHillCompanies(c)2012,CopyingProhibited
IBMCognosBusinessIntelligence10:TheOfficialGuide
2. From the Content pane, drag-and-drop a hierarchy on the crosstab in the work area. Insert the Sales Staff hierarchy into the Rows drop
zone of the crosstab, replacing the Sales Staff root member. The Insert Hierarchy dialog displays.
3. In the Insert Hierarchy dialog, choose All Members, and then click OK.
4. Repeat steps 1 and 2 to insert additional hierarchies with all members. Insert the Time hierarchy with all members in the Columns drop
zone of the crosstab. The crosstab in the work area shows the revenue amounts for all members of the Sales Staff and Time hierarchies.
Inserting a Member
Members can easily be added to a crosstab by dragging and dropping them into the crosstab. You can use several options on the Source tab
of the Content pane to change how members are inserted. The Create Sets For Members button lets you choose whether you want to insert
members within a set or insert members individually. The Insert Member With Children button provides options to insert a member with
children, insert a single member, or insert the children of a member.
Inserting a Member with Children
To insert a member with children in a crosstab, follow these steps:
1. On the Source tab in the Content pane, select the View Metadata Tree button.
2. From the Source tab in the Content pane, select Insert Member with Children as the insertion mode.
3. Drag-and-drop a member from the Content pane to the crosstab. Navigate to Sales (analysis) namespace | Sales Staff dimension |
Sales Staff hierarchy | Sales Region level | Members folder, and insert the Americas member on the Rows of the crosstab, replacing the
Sales Staff hierarchy from the last section. The Americas member and its children display on the rows of the crosstab.
4. Insert additional members into the crosstab. Navigate to Sales (analysis) namespace | Time dimension | Time hierarchy | Time level |
Members folder, and insert the Time member on the columns of the crosstab. The Time member and its children display on the columns
of the crosstab.
Page 6 / 15
ReprintedforCTS/449913,CognizantTechnologySolutions
McGrawHill/Osborne,TheMcGrawHillCompanies(c)2012,CopyingProhibited
IBMCognosBusinessIntelligence10:TheOfficialGuide
Nesting Members
Nesting members allow you to group data in a hierarchy. Hierarchies, levels, members, and measures can be nested in the Rows and
Columns sections of a crosstab. Nesting can be applied to a set or to an individual member in a set.
Nesting Members Within a Set
You can group data in a hierarchy with nesting members. Nesting can be applied to a set or to an individual member in a set. When inserting
items into the work area as sets, the items are grouped together and behave as a unit. When you insert items into the work area that are not
members of sets, the items behave individually.
To nest members within a set, follow these steps:
1. Open a new crosstab template using a multi-dimensional package. Choose the GO Sales (analysis) package.
2. From the Source tab in the Content pane, click the Create Sets For Members button, so that the button reads Insert Individual Members
(currently creating sets) upon mouse-over.
3. Insert items into the Rows, Columns, and Measures drop zones of the crosstab. Insert the Americas member and its children from the
Sales Staff dimension to the Rows section, the Time member and its children to the Columns section, and Revenue into the Measures
section.
4. From the Content pane, drag a second item into the Rows or Columns drop zone, inside of the first item, and drop it where the flashing
black bar appears. Insert Products (with children) within the Americas sales region. The product lines are nested within each country in
the Americas sales region:
Page 7 / 15
ReprintedforCTS/449913,CognizantTechnologySolutions
McGrawHill/Osborne,TheMcGrawHillCompanies(c)2012,CopyingProhibited
IBMCognosBusinessIntelligence10:TheOfficialGuide
Adding Filters
Filtering your data lets you focus your report on a smaller set of data. For example, suppose you want to see revenue and planned revenue
data for the current year only. In this case, you can add a filter that will include only the current year in the report. When you are using
dimensional data with Cognos Business Insight Advanced, you can use several options to focus your data. You can use context filters or create
custom filters to narrow the data returned.
Adding a Context Filter
To add a context filter to a crosstab, follow these steps:
1. Create a new crosstab and insert items into the Rows, Columns, and Measures drop zones of the crosstab. Continue to use the
crosstab from the previous section.
2. From the Content pane, drag-and-drop an item in the Context Filter section at the top of the work area. Insert the Web member in the
Context Filter section.
Page 8 / 15
ReprintedforCTS/449913,CognizantTechnologySolutions
McGrawHill/Osborne,TheMcGrawHillCompanies(c)2012,CopyingProhibited
IBMCognosBusinessIntelligence10:TheOfficialGuide
The values in the crosstab are now focused on web orders for the Americas sales region by year. Notice that the context filter (Web) is
automatically displayed in the header. This is a visual indicator indicating that there are filters on the report.
3. Add additional context filters. Insert the 2007 member from the Time dimension in the Context Filter section.
The crosstab is now focused on web orders for the Americas sales region for the year 2007. With context filters, you will notice that the
members that do not meet the filter criteria are not removed from the crosstab.
Suppressing Rows and Columns
In this example, because we have a context filter on 2007, the other year members do not contain any values but remain in the report. To
remove the blank cells, you can use the Suppress Rows and Columns feature.
To suppress cells with zeroes or blanks, click the Suppress button on the standard toolbar, and choose Suppress Rows and Columns. This
removes the unwanted blank cells:
Page 9 / 15
ReprintedforCTS/449913,CognizantTechnologySolutions
McGrawHill/Osborne,TheMcGrawHillCompanies(c)2012,CopyingProhibited
IBMCognosBusinessIntelligence10:TheOfficialGuide
2. Select Delete from the menu. The context filter is removed. For this example, we removed the 2007 filter from the report.
Creating a Custom Filter
To create a custom filter, follow these steps:
1. In the crosstab, select the item for which you want to create a custom filter. Select the 2007 cell in the columns of the crosstab.
2. Click the Filters button on the standard toolbar, and choose Create Custom Filter from the drop-down menu. The Filter Condition dialog
appears:
3. Make any necessary modifications to the filter condition. Add 2006 to the list of selected values so that 2006 and 2007 will be included
in the crosstab.
4. Click OK to create the filter:
Creating a Calculation
Adding calculations to your reports lets you include additional data in a report that does not exist in the data source. For example, using the
Revenue and Planned Revenue measures, you can create Revenue as a percentage of a Planned Revenue calculation to show a manager
how close actual revenues come to expected revenues. We continue to use the same sample report created throughout the chapter in this
section.
To create a calculation, follow these steps:
1. Select two items in the crosstab for which you want to create a calculation. CTRL-click Revenue and Planned Revenue in the columns of
the crosstab.
Page 10 / 15
ReprintedforCTS/449913,CognizantTechnologySolutions
McGrawHill/Osborne,TheMcGrawHillCompanies(c)2012,CopyingProhibited
IBMCognosBusinessIntelligence10:TheOfficialGuide
2. Click the Insert Calculation button on the standard toolbar, and choose Custom from the drop-down menu. The Insert Custom Calculation
dialog appears:
3. In the Insert Customer Calculation dialog, select the desired action from the Operation drop-down menu. Choose % (percentage) as the
operation.
4. In the Calculation area, make any necessary modifications. Select the Revenue As A Percentage Of Planned Revenue radio button.
5. In the New Data Item Name area, choose to use the default name or type a name for the calculation. Click the radio button next to the
blank space and type % Variance.
6. Click OK to create the calculation. The custom calculation is added to the crosstab:
Page 11 / 15
ReprintedforCTS/449913,CognizantTechnologySolutions
McGrawHill/Osborne,TheMcGrawHillCompanies(c)2012,CopyingProhibited
IBMCognosBusinessIntelligence10:TheOfficialGuide
The values in the crosstab have been filtered on the first product line, and the paging buttons in the work area are now enabled. A
header (Camping Equipment) has been added to the title section of the work area to provide a visual aid to what the crosstab contains.
2. Click the Page Down link to see the next page. Golf Equipment displays:
2. In the Drill Options dialog, select the Allow Drill-Up And Drill-Down check box. Click OK.
3. Click the Run Report button on the standard toolbar. The report displays in IBM Cognos Viewer:
Page 12 / 15
ReprintedforCTS/449913,CognizantTechnologySolutions
McGrawHill/Osborne,TheMcGrawHillCompanies(c)2012,CopyingProhibited
IBMCognosBusinessIntelligence10:TheOfficialGuide
Notice that the items in the rows and columns are now underlined, indicating they are links. This signifies that drill-down and drill-up
capabilities are enabled for this report.
4. Click a link in the crosstab to drill-down on the selected item. Click the United States link to drill-down to the Sales Staff cities within the
United States.
5. Right-click an item in the crosstab and select Drill Up from the context menu to drill-up one level on the selected item.
NoteThe drill-down and drill-up options work only for HTML output reports.
3. In the Set Definition dialog, click the New button, and select Custom Grouping from the drop-down menu. The Custom Grouping dialog
appears:
Page 13 / 15
ReprintedforCTS/449913,CognizantTechnologySolutions
McGrawHill/Osborne,TheMcGrawHillCompanies(c)2012,CopyingProhibited
IBMCognosBusinessIntelligence10:TheOfficialGuide
4. In the Custom Grouping dialog, click the New button. The Custom Group dialog appears.
5. In the Custom Group dialog, specify a name for the new custom group. Enter North America in the New Group Name text box.
6. Add items to be included in the group from the Available Members pane into the Members pane. Navigate to the Sales Staff dimension
and add the United States, Canada, and Mexico members to the Members pane.
7. Click OK to save the new custom group. The Custom Grouping dialog appears again, now with the new custom group.
Page 14 / 15
ReprintedforCTS/449913,CognizantTechnologySolutions
McGrawHill/Osborne,TheMcGrawHillCompanies(c)2012,CopyingProhibited
IBMCognosBusinessIntelligence10:TheOfficialGuide
8. In the Custom Grouping dialog, choose the behavior for the remaining values. Select the Group Remaining Values Into A Single Group
radio button, and enter South America in the text box.
9. Click OK to save the changes made to the custom groupings.
10. In the Set Definition dialog, click OK. The new custom groups appear in the crosstab:
Page 15 / 15
ReprintedforCTS/449913,CognizantTechnologySolutions
McGrawHill/Osborne,TheMcGrawHillCompanies(c)2012,CopyingProhibited