Home > Articles

  • Print
  • + Share This
This chapter is from the book

Create Charts

Charts enable you to display the data graphically and highlight the trends and relationships in the data that are not clearly visible in a report. When working with charts, Query Studio provides options to display the Chart only, or both the Chart and a table.

You can create Column, Bar, Pie, Line, Column-Line, Area, and Radar chart types in Query Studio. For each of the chart types other than Pie and Radar, you can choose them to be Standard, Stacked, or 100 Percent Stacked. Further customization options are available for charts depending upon the chart type selected.

Some points to consider when choosing a chart type are as follows:

  • Column charts are useful when you want to compare data or see trends over time.
  • Pie charts are a good option to display a contribution of the parts to the whole. It can plot only one data series; if you require more than one, you should use another type and choose 100 Percent Stacked. When you display the report in PDF or HTML, you can show 16 pies or gauges per chart. For Pie charts you can choose from one of the four chart types: Standard, 100%, Standard with 3-D Visual Effect, and 100 Percent with 3-D Visual Effect configurations.
  • Line, Column, Area, and Bar charts are commonly used to display trends in time or contrast values across different categories.
  • Column-Line charts are typically used to compare different kinds of quantitative information.
  • Radar charts are typically used to compare groups of related information against actual values.

To create charts, perform the following steps:

  1. In IBM Cognos Connection, click Launch > Query Studio.
  2. Select GO Data Warehouse (query) package when prompted to select a package.
  3. Click the New icon on the Standard toolbar.
  4. Expand GO Data Warehouse (query) > Sales and Marketing (query) > Sales (query).
  5. Expand Retailers > click Region > click the Insert button.
  6. Expand Sales fact > click Revenue > click the Insert button.
  7. Click the Chart icon on the Standard toolbar.
  8. Choose the Chart and table option, as shown in Figure 5.22.
    Figure 5.22

    Figure 5.22. Chart and table in a report.

  9. Click OK.
  10. Expand Products > drag and drop Product line to the right of Region (as the middle column).

    NOTE: The chart was automatically updated.

  11. Click anywhere in the list > click the Pivot icon on the toolbar to create a crosstab report.
  12. On the toolbar, click the Swap Rows and Columns icon > click OK.

    NOTE: You can swap the rows and columns for either the chart or the list or both (default).

    NOTE: The report now contains both the Chart and List reports. If you have a Crosstab report, you can also change the perspective by using the Swap Rows and Columns option, as shown in Figure 5.23.

    Figure 5.23

    Figure 5.23. Swap Rows and Columns on the List.

  • + Share This
  • 🔖 Save To Your Account