Oracle9i Discoverer Desktop Tutorial: 1.1 Using The Sample Workbook
Oracle9i Discoverer Desktop Tutorial: 1.1 Using The Sample Workbook
This tutorial covers the basic steps to get you up and running with Discoverer Desktop. For information on additional features not covered here, see the Oracle9i Discoverer Desktop User's Guide or the online Help system.
Page 1
"Creating a Workbook".
2. In the Connect to Oracle Discoverer dialog box, enter your Username, Password, and the name of the Database containing the information you want. Ask your Discoverer manager for this information.
3. Click Connect. The Workbook Wizard appears. In this wizard you open existing Workbooks or create new ones.
Page 2
5. Select My Computer. Discoverer displays a file Open dialog. 6. Navigate to the file [ORACLE_HOME]\DISCV902\Vidstr5.dis, and click Open. [ORACLE_HOME] is the directory for your Oracle products set up by your Discoverer manager, (typically named \orant\). 7. If a Workbook in Other Database Account dialog is displayed, click OK to accept the default setting Open the Workbook in the current database account. 8. If you are asked whether you wish to run this query, click Yes. The Video Store Workbook opens. This is a tabular report of sales information for your video sales and rental business. You are looking at the performance of the video rental and video sales Departments for the Year 1998. You can quickly see that the sales performance of the East Region is better than that of other Regions. You also see that the total profit across all three Regions for 1998 is $391,104. 9. Click File Save As, click the My Computer icon and then click Save.... 10. Save this file as Video Stores Analysis.dis. Note: You can also save your Workbook to the Database, in which case the *.DIS file extension is not required.
Page 3
Now you see the regional profits for the Year 2000. Notice that the profits for each Region decreased from the Year 1998, with the total of all Regions being $320,301.
Page 4
3. Choose Format | Data. The Format Data dialog box appears with the Font tab automatically selected.
Page 5
4. Change Size to 11. Note: You can click Apply to make changes without closing the dialog box. 5. Change the font color to a light blue. Look at the Sample panel to see how the text will look on your Worksheet. 6. Click OK. You have now emphasized the Totals data points to make your Worksheet more readable.
You can change any of data and heading formatting options at any time. Choose from Discoverer's wide range of fonts, colors, effects, and alignment styles. 6. Click Edit | Undo to undo the changes that you have made to the Workbook, or close the
Page 6
3. Click OK. The Title now includes the Year on which the Worksheet is paged.
Page 7
Now that you have edited the title of your report to include your company's name and the Year for which you are reporting. Within this dialog box, you will also add bitmap graphics to your title.
Page 8
Page 9
Your Worksheet is now personalized for you or your company, with data formatted to make your report clear and easy to analyze. Now, you will begin to analyze your data in order to reveal anomalies in your sales data which will help you make business decisions.
Page 10
2. If you are asked whether you wish to run this query, click Yes.
You are looking at the same annual data for video sales and rentals for all Regions but in a different format.
2. Place the cursor on the right-pointing triangle next to the Year 1998-the cursor changes to a magnifying glass-and click. A list appears displaying the levels available for viewing. The currently displayed level of
Page 11
information is checked.
3. Choose Calendar Quarter. Discoverer displays the crosstab report with a breakdown of annual profits by quarter.
Page 12
2. From the main menu.choose Sheet | Drill. The Drill dialog box opens. 3. Make sure Drill Up/Down is selected.
4. In the Where do you want to drill to list, choose Month. 5. Click Options. The Drill Options dialog box opens.
6. Choose Replaced with new Item. 7. Click OK in the Drill Options dialog box to close it. 8. Click OK in the Drill dialog box to close it and confirm the drill. The data is now displayed by Months within Years.
Page 13
Now you can see your profits broken down by month for 1998. Scroll to the right to view the monthly profits for 1999 and 2000.
2. Click Sheet | Edit Sheet to display the Edit Sheet dialog, and then click the Crosstab Layout
Page 14
tab. 3. Drag the Calendar Quarter Item upwards until it is above the Calendar Year Item, then click OK.
You can now easily compare the same quarter for different Years.
Page 15
4. Click Sheet | Edit Sheet to display the Edit Sheet dialog, and then click the Crosstab Layout tab. 5. Drag the Calendar Year Item to the left axis until it is above the Region Item.
Page 16
6. Click OK.
You can now easily compare quarters across different Years. To simplify the display, you can also view one Year at a time by putting the Calendar Year Item on the Page Items axis. 7. Click Sheet | Edit Sheet to display the Edit Sheet dialog, and then click the Crosstab Layout tab. 8. Drag the Calendar Year Item to the Page Items area, to the right of the Department Item. 9. Click OK.
Page 17
You are beginning to see the power and ease that Discoverer offers you in viewing your data quickly and from many different angles-truly aiding you in analyzing business trends and making decisions.
Page 18
Tip: If you place your cursor on a toolbar icon and leave it there momentarily, the name of the icon pops up.
Page 19
2. In the gallery of graphs, select Bar, and click Next. The New Graph: Step 2 dialog opens.
3. In the gallery of styles, select the 3D format, and click Next. The New Graph: Step 3 dialog opens.
4. You can add titles to any margin of your graph. In the Top field type "Video Stores Profits". 5. Select the Show Legend check box. 6. Under "Axis Label Fonts," click X Axis Font to format the font for the horizontal axis. You can do the same for the Y axis. Format these fonts at your own discretion. 7. Click Next. The New Graph: Step 4 dialog opens.
Page 20
8. Under "Graph Series by" select Row. Notice in the field below that Discoverer reports which data points are on the x-axis and which are the series. 9. Click Finish.
This graph shows you the profits for all three Regions for each Quarter in the Year 2000. Notice that as you move your cursor over the bars, the bottom left-hand corner of the panel displays the Item name and Quarter at which you are pointing, (in the example below, Profit SUM,Q1).
Page 21
10. On the Worksheet, change the Year page Item from 2000 to 1999. The graph changes to reflect the data. Because we have data for all four Quarters in 1999, the number of series in our graph changes to four.
Page 22
Notice that each Region's monthly profits for the Year are grouped together This allows you to see an entire Region's profit trends juxtaposed against the others'. You can see that the East Region's profits are considerably higher than those for the other Regions. 3. Repeat Step 1 and choose Series by Row to return to the previous display.
Page 23
You can now see the profits for each Region stacked on top of each other, with their combined height representing the combined annual profit. Use the cursor to move across each stack to examine the profit values for the individual Region. This kind of graph emphasises the profit for each Region in relation to its contribution to the grand total, more than in comparison to the other Regions. 4. Close the graph by clicking the Toggle Graph icon on the toolbar at the top of your Worksheet.
Page 24
your local or network drive, while the Discoverer data is stored in the Discoverer database. 2 - To the Discoverer database. The Workbook configuration data is stored in the Discoverer database along with the Discoverer data.
Page 25
Page 26
2. In the "View Exceptions for" drop-down list, choose Profit SUM and click New. The Exception dialog box opens.
3. To define when the exception occurs, select the following listed parameters from the drop-down lists respectively. You'll need to type the value parameter. Profit SUM is greater than 7000
4. Edit the format display by setting the size to 12, the style to Bold, and the font background to green. The Preview box shows you how your exceptions will look on the Worksheet. 5. Click OK to close the Format Exception dialog.
Page 27
You can now see at a glance which cities have profits greater than $7,000, highlighted in green. As you can see, New York and Philadelphia show outstanding profits, and that New York is the leading store in the Eastern area. It is obvious that this store has contributed to the overall success of the East Region. Note that the summary profit values for the three Regions all exceed the Exception amount, and are therefore also highlighted. Now is a good time to save your Workbook if you would like to take a break. The next section of the tutorial will continue from this point.
Page 28
To drill to related details 1. Double-click the cell that represents New York's profits for quarter one (Q1), 2000 ($21,455).
Page 29
2. Select Drill to Detail in another sheet. 3. Double click the Store and Sales Details folder.
A new Worksheet is created with the details of video sales for New York in quarter one in 2000. This Worksheet contains reports and memos explaining why New York's profits were so high.
Page 30
4. To drill out to one of the Microsoft Word memo reports, double-click on one of the Microsoft Word icons in the Reports column.
The selected report will be displayed in Microsoft Word or Viewer application installed on your computer. You can also double click on the Internet Explorer icons in the Full Description column to drill out to a Web site.
2. Type New York Sales Increase. 3. Click OK. This is a good time to save your Workbook. The new Worksheet will be saved with it.
Page 31
Page 32
3. Choose to export Current Sheet, and choose Hyper-Text Markup Language (*.htm) as the export format. 4. Select a directory in which to save the exported file. The files will be named automatically, but you can change the file name as required. 5. Click Finish. Discoverer saves the current Worksheet to an .htm file in the directory you specified. When you open the exported file in your web browser, you will see your Discoverer data replicated in HTML format.
Page 33
2. Click on Current Sheet and An Attachment, and select Hyper-Text Markup Language (*.htm) from the pull-down list. 3. Click Send. Note: From this point on, you will not be working from Discoverer, but from the Microsoft interface and your e-mail package, so there may be some variation. The Choose Profile dialog box may appear if you have more than one e-mail profile installed on your machine. Select your e-mail package from the pull-down list in the Choose Profile dialog box. Discoverer will start your e-mail program, if it is not already running, and open a New Message. Notice the attachment is already a part of your message. Its name is the Workbook name plus Worksheet name. The subject has also been filled in for you with the name of the document you are attaching; you may change this if you wish. 4. Address and send your e-mail to yourself or a co-worker. Later on, you can go to your e-mail and check your message. Note: For more information on sending Discoverer reports in other file formats, refer to the Discoverer Desktop User's Guide. Congratulations! you have mastered many of the features of Discoverer which assist you in your business analysis and decision making. You know how to edit and format Worksheets, revealing meaningful information in a report that is easy to view and distribute. You may want to save your Workbook at this time, before going on to creating your own Workbook from scratch.
Page 34
2. Select the Formats tab. 3. In the Default Formats list, select Data Format.
Page 35
4. Click Change. The Format Data dialog box opens. 5. Define the appearance of your data to your own preferences by changing the Font, Size, Style, and Color. Use the Sample box to preview your changes. 6. Select the Background Color tab and choose a background color. 7. Click OK to close the Format Data dialog box. 8. Click OK to close the Options dialog box and apply your changes. These settings will be seen when you create your new Workbook. To change the default format of a heading, Worksheet title, total, or exception, follow the above steps, selecting the appropriate format from the Default Formats list (Step 4).
2. Click Table from the How do you want to display the results options. 3. Select Next to display Workbook Wizard: Step 2.
Choose a Business Area and data for your report. In Workbook Wizard: Step 2, you will choose the Business Area and data for your report. The Available list tells you all of the Business Areas your Discoverer manager has set up for you to access. In the panel below, you can see a list of the folders available to you as part of the Video Store Tutorial Business Area. 1. In Workbook Wizard: Step 2, Choose Video Store Tutorial from the Available list.
Page 36
2. Expand the Video Analysis Information folder by clicking the + next to the folder. 3. Select the following Items by clicking and dragging them to the Selected area: Profit SUM Region Calendar Year Tip: Use the scroll bar to view all of the Items, or resize this dialog box by clicking and dragging the outer edges to see more information. 4. Expand the Department Item, then select and drag the following Items to the Selected list: Video Rental Video Sale Tip: Hold down the Ctrl key to select multiple Items.
Page 37
Modify the layout of your information In Workbook Wizard: Step 3, Discoverer enables you to modify the layout of your information before it gathers that information. 6. Move Profit SUM to the right of Region. 7. Move Calendar Year to the left of Region. 8. Click Finish. 9. Click Format|Column|Autosize to set the column width, or adjust them manually by dragging the column borders. You have now created a Workbook with one Worksheet that shows you the profit by Region for Video Sales and Rentals for 1998, 1999, and 2000.
Page 38
Now you see your information sorted by Year. Next, make your information easier to view by
Page 39
3. Use the drop down list to change the line width to 4 for Calendar Year. This will make it easier to distinguish each Region's data. 4. Click Add and select Profit SUM. This adds Profit SUM as a secondary sort. 5. Click OK.
Page 40
Your Worksheet is now sorted by Profit SUM within Calendar Year. Increasing the line width makes it easier to differentiate the data for each Year.
2. From the list View Totals for, select Profit SUM and click New. The Total dialog box opens.
Page 41
3. Under Calculate, "Sum" of "Profit SUM" should appear in the two list boxes respectively 4. Under Placement, select "Subtotal at each change in", then choose Year from the pull down list below.
5. Preview the label for your calculation at the bottom of the dialog box. 6. Make sure that the Genereate Label Automatically option is ticked. Change the appearance of the calculation by clicking Format. The Format Data dialog box opens, allowing you to format the text and change the background color. Format your total for easy viewing in your Worksheet.
Page 42
7. Click OK to confirm the total calculation. In the Totals dialog box, notice that the total calculation you just created is selected.
You now have a new row beneath each Year displaying the total profit for the Year.
Page 43
Page 44
Page 45
3. Under Calculate Percentages for, select Profit SUM. 4. Under Calculate as a Percentage of, select Each change in, then choose Year from the pull down list. 5. Type '% of Annual Profit', in the Column heading box. Click on the format button to the right of this field to format the appearance of your percentage as you wish. 6. Click OK out of the Format Data dialog box to apply the specified formats and return to the Percentage dialog box. 7. Click OK to confirm your percentage calculation. In the Percentages dialog box, notice that the percentage calculation you just created is selected. 8. Click OK to apply the selected percentage calculation.
Page 46
You have just calculated the Profit SUM as a percentage of total profit for each Year.
2. Click OK. A new sheet is created with a crosstabular display of the same information. You can see that the total calculations that you created previously are recreated in this crosstab sheet.
Page 47
2. In the Save Workbook dialog box, choose My Computer to save this new Workbook to a directory on your computer or a network drive. 3. Click Save. 4. In the Save As dialog box, navigate to the [ORACLE_HOME]\Discv902\ directory and enter a file name. 5. Click Save. You can also save your Workbook to the Discoverer database. Refer to section 1.7 for notes on saving your Workbooks.
Page 48
2. Select Sheet | Edit Sheet. The Edit Sheet dialog box opens. Note: Those folders that are grayed out are inaccessible because those Items are not related, or joined, to the information already present in your Worksheet.
Page 49
3. Open the Video Analysis Information folder by clicking on +, and drag the Item "Cost" to the Selected pane. 4. Click OK to add the Item to your Worksheet. You may have to wait for a few seconds for Discoverer to retrieve the data from the database. You can now use your Discoverer skills to analyze the Worksheet to see how Costs relate to Profits.
Page 50
1. Open a Workbook, for example Video Stores Analysis, (Vidstr5.dis). 2. From the File menu, select Schedule. The Schedule Workbook Wizard opens. In our example, there are two Worksheets to choose from, Tabular Layout and Crosstab Layout.
3. In Step 1 of the Schedule Workbook wizard, select Tabular Layout from the list of sheets to choose from. 4. In the time field, schedule the sheet to run 5 minutes from now-leaving the date as today's date. 5. Under How often do you want to repeat this schedule?, Select Never so that the scheduled process does not reoccur. 6. Click Next. The Schedule Workbook: Step 2 dialog box opens.
Page 51
7. Name your Workbook with a meaningful name and type your own description. 8. Set your results to be deleted after 1 day. 9. Click Finish. Depending on the size of the Workbook, the Scheduled Workbook will take a few minutes to create. Your Workbook will be refreshed with the most up-to-date data in five minutes time. You can also set the Schedule to occur overnight so that you have up-to-date data when you begin work in the morning, or another suitable time.
Page 52
2. Select Scheduling Manager, and then click Open. The Open Scheduled Workbook dialog box opens.
3. Select your previously scheduled Workbook, and click Open to display the Workbook. 4. Click Yes if you are asked if you want to run the query. You see the results of your scheduled Workbook in a new Workbook which is identical to the Crosstab Layout sheet from your previously created Workbook.
Page 53