- SAP Business Intelligence Quick Start Guide
- Vinay Singh
- 369字
- 2025-02-27 23:35:25
Creating a SAP BusinessObjects Analysis workbook based on an existing BEx query
Now, let's see how we can create a SAP BusinessObjects Analysis workbook based on an existing BEx query:
- Start BusinessObjects Analysis, the Microsoft Excel edition, go to the options and then mark Preferred Platform as Selectable.
- Like before, this will allow us to choose either NetWeaver or BI platform so that we can save our workbooks.
- Insert the BEx query U00_SAPB1_Q1 starting at cell A1 (this query is available via the connection BW_RWB_OLAP, in the Area BW training. Go to Customer Training | T_SAPBI | eFashion cube. As we would be using the same template data, use query and Universe from eFashion).
- The system will prompt for a username and password for BI platform; enter these details.
- In the query, remove all the attributes from ROWS, and then add STATE, STORE, and CATEGORY, in this order. Then, swap the STATE and STORE columns directly in the body of the workbook. Change the order of Measures.
- Restore the initial order of Measures and characteristics. Make sure that the report does not refresh after each action.
- Remove the STORE attribute from ROWS and define the following filter settings for STATE:
- Display California and Florida
- Display all again
- Display all except California
- The mock up data has an organization of categories called category hierarchy one related to gender. We can display this hierarchy in our workbook.
SAP BW has a special feature called external hierarchies. This feature is a rollup tree for any master data stored separately from the transactional dataset. These external relationships can be applied in any workbook that contains the base InfoObject.
- Now we will just keep CATEGORY and STATE in ROWS, and sort the result set by CATEGORY (descending).
- Filter the result set by the AMOUNT_SOLD measure to only include the top three amounts sold.
- Remove the top N filter on AMOUNT_SOLD and add a custom local calculation percent contribution by AMOUNT_SOLD.
- We can save STATE of our analysis as an analysis view called BW_State_and_Category.
- Save our workbook in the BI platform and reopen and refresh the workbook we have just saved.