instructions for advanced measures objects

Upload: udaybvh

Post on 03-Apr-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/28/2019 Instructions for Advanced Measures Objects

    1/9

    webiworx.com

    Web Intelligence XI 3.1

    Training Course

    Creating the Advanced Measures

    Objects Class

  • 7/28/2019 Instructions for Advanced Measures Objects

    2/9

  • 7/28/2019 Instructions for Advanced Measures Objects

    3/9

    Trademarks

    InfoView, Web Intelligence, Web Intelligence Rich Client, Central Management Console, DesktopIntelligence 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 tocopyright 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 incidentalor consequential damages in connection with, or arising out of the use of instructions, examples andsample data contained in this document.

  • 7/28/2019 Instructions for Advanced Measures Objects

    4/9

    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 toyour 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'.

  • 7/28/2019 Instructions for Advanced Measures Objects

    5/9

    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'.

  • 7/28/2019 Instructions for Advanced Measures Objects

    6/9

    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 thewindow.

    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 okbecause they are all supposed to contain a 'NULL' value (i.e. 'empty') for the Spend column.

  • 7/28/2019 Instructions for Advanced Measures Objects

    7/9

    16. Close ' CUSTOMER_FACT$_ImportErrors' table by clicking on the 'Close' (i.e. 'X') button in thecorner of the window.

    17. Select the error table in the 'Tables' list and press or .

    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.

  • 7/28/2019 Instructions for Advanced Measures Objects

    8/9

    2. Use the following mappings to create the 'Advanced Measures' class and objects:

    Class Name Advanced Measures

    Object Name ObjectType

    Qualification Object SQL ProjectionFunction

    Year Number Dimension CUSTOMER_FACT.YEAR_NO

    Quarter Character Dimension CUSTOMER_FACT.QUARTER

    Month Number Dimension CUSTOMER_FACT.MONTH_NO

    Region Character Dimension CUSTOMER_FACT.REGION

    Spend Number Measure Sum(CUSTOMER_FACT.SPEND) Sum

    Sub Class Name Special Measures

    Object Name ObjectType

    Qualification Object SQL ProjectionFunction

    Average SpendSum

    Number Measure Avg(CUSTOMER_FACT.SPEND) Sum

    Average SpendMax

    Number Measure Avg(CUSTOMER_FACT.SPEND) Max

    Average SpendMin

    Number Measure Avg(CUSTOMER_FACT.SPEND) Min

    Average SpendAverage

    Number Measure Avg(CUSTOMER_FACT.SPEND) Average

    Average SpendCount

    Number Measure Avg(CUSTOMER_FACT.SPEND) Count

    Average SpendDD

    Number Measure Avg(CUSTOMER_FACT.SPEND)Databasedelegated

    3. Run an Integrity Check on the universe.

    Results for 'eFashion Oracle XI3.1' universe should show:

  • 7/28/2019 Instructions for Advanced Measures Objects

    9/9

    Results for 'eFashion' universe should show:

    4. Export universe into your CMS using File Export.