How to: |
Now you will create a report with the Report Painter and use the TRADES data source. You will use the dimensions you created earlier with the Dimensions Tool. After you OLAP-enable and run your report, you will drill down on dimensions and measures, drag and drop them, and use the new right-click menu on the enhanced OLAP user interface.
The Open dialog box asks you to specify the data source you will be using to create your report.
To create a report, you must add fields to it. Follow these steps to add fields to your report in the Report Painter.
The Object Inspector window, located at the left side of the Report Painter, lists the fields in the TRADES Master File.
Tip: If your report boundaries are not showing (the Page Heading and Page Footing areas), click the Report menu and select View. Click the check box for Boundaries in the General section and then click OK.
The following font attributes are the default:
Your report should now look like the following image.
OLAP options are available on the Report Painters Report Options Features tab. The relevant options are Enable OLAP and Automatic Drill Down.
You can also enable OLAP from the OLAP option on the Report menu. For details, see the Creating Reporting Applications With Developer Studio manual.
Complete the following steps to OLAP-enable your report.
Notice that the OLAP selections panel appears above the report output, as you requested in step 2. Use this panel to manipulate your output. Also, notice that drill down hyperlinks are active for the dimensions and measures.
In an OLAP-enabled report, every dimension in the hierarchy has a control (drop-down list) next to it. You can create selection criteria using the dimension controls. You can also drag dimensions from the selections panel (above the blue colored band) to the body of the report.
Note: You may also use the OLAP Control Panel window to select Month and add it as a Drill Down field. Click Run from the OLAP Control Panel.
Right-click the QTR dimension in the report and select Move to Across from the menu.
The QTR column changes from a BY field to an ACROSS field.
Now you have experimented with data manipulation in a report created with a procedural hierarchy.
You can continue to the next exercise, where you will use another data source and explore other ways of manipulating data in an OLAP-enabled report.
WebFOCUS |