Вы находитесь на странице: 1из 9

webiworx.

com
Web Intelligence XI 3.1 Training Course
Creating the Advanced Measures Objects Class

Trademarks InfoView, Web Intelligence, Web Intelligence Rich Client, Central Management Console, Desktop Intelligence and Business Objects Designer are trademarks of SAP AG, Dietmar-Hopp-Allee 16, 69190 Walldorf, Germany. Screenshots and graphics reproduced in this book (of SAP BusinessObjects products) are subject to copyright of SAP AG, Dietmar-Hopp-Allee 16, 69190 Walldorf, Germany. Microsoft Access and Microsoft Windows are trademarks of Microsoft Corporation. Oracle Database is trademark of Oracle. All other products mentioned are registered or unregistered trademarks of their respective companies.

Limits of Liability and Disclaimer of Warranty The Author of this document has used best endeavours in testing the instructions and examples used. The Author makes no warranty of any kind, expressed or implied, with regards to the instructions, examples, sample data and documentation. The Author shall not be liable in any event for incidental or consequential damages in connection with, or arising out of the use of instructions, examples and sample data contained in this document.

The contents of this document provide instructions on how to create the class of objects called 'Advanced Measures' in both 'eFashion' and 'eFashion Oracle XI3.1' universes. This class of objects is required for the session on 'Advanced Measures'.

Loading of Sample Data into Oracle


1. Accompanying this document will be a file called 'CUSTOMER_FACT_ORACLE.txt'. Your Oracle DBA needs to run the contents of this file to create the data in you Oracle 'eFashion' user. 2. Jump to 'Creating the Advanced Measures objects'.

Loading of Sample Data into Microsoft Access


1. Accompanying this document will be a file called 'CUSTOMER_FACT.xls' file. Save this file to your PC or network location. We have saved it here in the same folder as our 'efashion.mdb' (Microsoft Access) file.

2. Double-click on 'efashion.mdb' to open it in Microsoft Access. If you are presented with a warning in Microsoft Access then click on 'Options' in the following bar:

Then select 'Enable this content' and click 'OK'.

3. Select 'External Data' and click on 'Excel':

4. In the 'Get External Data - Excel Spreadsheet' interface: Click on 'Browse...' and select the downloaded file 'CUSTOMER_FACT.xls'. Ensure the option 'Import the source data into a new table in the current database' is selected. Click 'OK'. 5. In the 'Import Spreadsheet Wizard' ensure the 'First Row Contains Column Headings' is selected. 6. Click 'Next >'. 7. Click 'Next >' again. 8. Ensure 'No primary key' is selected. 9. Click 'Next >'. 10. Ensure the text box labelled 'Import to Table:' contains the value 'CUSTOMER_FACT'. 11. Click 'Finish'. 12. Click 'Close'.

13. Double-click on 'CUSTOMER_FACT' in the table list. It should contain 144 records as shown below.

14. Close 'CUSTOMER_FACT' table by clicking on the 'Close' (i.e. 'X') button in the corner of the window. 15. Double-click on ' CUSTOMER_FACT$_ImportErrors' in the table list. It should contain 12 records as shown below. These records are showing errors but they are ok because they are all supposed to contain a 'NULL' value (i.e. 'empty') for the Spend column.

16. Close ' CUSTOMER_FACT$_ImportErrors' table by clicking on the 'Close' (i.e. 'X') button in the corner of the window. 17. Select the error table in the 'Tables' list and press <DEL> or <Delete>.

18. Click on 'Yes' when prompted to confirm the deletion of the error table. 19. Exit Microsoft Access.

Creating the Advanced Measures class and objects


1. The 'Advanced Measures' class and its contents should be created as follows:

The mappings overleaf show how each class/object should be created.

2. Use the following mappings to create the 'Advanced Measures' class and objects: Class Name Object Name Year Quarter Month Region Spend Sub Class Name Object Name Average Spend Sum Average Spend Max Average Spend Min Average Spend Average Average Spend Count Average Spend DD Advanced Measures Object Type Number Character Number Character Number Qualification Dimension Dimension Dimension Dimension Measure Object SQL CUSTOMER_FACT.YEAR_NO CUSTOMER_FACT.QUARTER CUSTOMER_FACT.MONTH_NO CUSTOMER_FACT.REGION Sum(CUSTOMER_FACT.SPEND) Projection Function

Sum

Special Measures Object Type Number Number Number Number Number Number Qualification Measure Measure Measure Measure Measure Measure Object SQL Avg(CUSTOMER_FACT.SPEND) Avg(CUSTOMER_FACT.SPEND) Avg(CUSTOMER_FACT.SPEND) Avg(CUSTOMER_FACT.SPEND) Avg(CUSTOMER_FACT.SPEND) Avg(CUSTOMER_FACT.SPEND) Projection Function Sum Max Min Average Count Database delegated

3. Run an Integrity Check on the universe. Results for 'eFashion Oracle XI3.1' universe should show:

Results for 'eFashion' universe should show:

4. Export universe into your CMS using File Export.

Вам также может понравиться