From the Windows Start menu, choose Run. Type regedit then choose OK.

A-2 Oracle Fusion Middleware Users Guide for Oracle Business Intelligence Discoverer Desktop A.4.1 Calculate the number of rows returned by a query This example calculates the number of rows returned by a query. A.4.2 Calculate a 25 increase in sales This example calculates a 25 increase in sales figures. Note: For more information on how to create Calculations, refer to Creating Calculations . Workbook options Details Select Items Video Analysis Information: Year Calendar Year, Region, City, Sales SUM Sort Order Year, Region, City Conditions Department = Video Sale OR Department = Video Rental Year = 2000 AND Region = Central Calculation Name Rows returned Calculation ROWCOUNT Notes ROWCOUNT does not count NULL values. To calculate the number of rows returned by a query, including NULL values, first create a temporary item One record, Calculation = ‘1’. Then, create a Calculation Rows returned to count the occurrences of One record, SUMVideo Sales Analysis.One record Display Data Workbook options Details Select Items Video Analysis Information: Year Calendar Year, Region, City, Sales SUM Sort Order Year, Region, City Conditions Department = Video Sale OR Department = Video Rental Year = 2000 AND Region = Central Calculation Name 25 Increase Calculation Sales SUM 1.25 Display Data Calculation Examples A-3 A.4.3 Convert text to upper-case As well as the extensive range of mathematical functions available in Discoverer Desktop, you also have access to a wide range of number and text formatting functions. This example uses a Calculation to re-format City text data to upper-case. A.5 Analytic Function Examples Oracle Business Intelligence Discoverer supports the Analytic Functions that are included in the Oracle database. Discoverer Desktop also extends the functionality of standard SQL by allowing you to nest Analytic Functions. You can use these advanced functions to perform sophisticated analysis on your data. This section contains the following sub-sections: ■ Analytic Function Categories ■ Calculations and Drilling Into and out of data ■ About The Analytic Function Template ■ Ranking Function Examples ■ Banding Function Examples ■ Windowing Function Examples ■ Reporting Function Examples ■ LagLead Function Examples ■ Statistical Function Examples ■ More about the Analytic Function Template ■ Analytic Functions and Sequencing A.5.1 Analytic Function Categories Analytic Functions are classified in the following categories: ■ Ranking - Address business questions like: ‘What are the top 10 and bottom 10 salespeople per region?’. Workbook options Details Select Items Video Analysis Information: Year Calendar Year, Region, City, Sales SUM Sort Order Year, Region Conditions Department = Video Sale OR Department = Video Rental Year = 2000 AND Region = Central Calculation Name CityUpper Case Calculation UPPERCity Display Data