1. Trang chủ
  2. » Công Nghệ Thông Tin

Oracle Essbase 9 Implementation Guide- P61 ppsx

5 231 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 5
Dung lượng 747,41 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Notice in the Selection Rules section how the selected YEAR members now have the member selection rule you applied to them.. Just to verify that the EQD has the correct members selected

Trang 1

6 Select New Member Filter as this option can give you the most control when

filtering outline members Notice how the lower right pane of the EQD screen changes again This time you are allowed to create a member selection rule

based on where the members are in the outline You can choose between Level selection and Generation selection and also can use And or Or clauses as well.

7 In this case we will select Level 0 members for our criteria, which will return

to us all of the month members for the years we have selected

Once you have made your selection(s) click on one of the YEAR members in

the left pane to return your screen to the previous configuration In the next

screenshot, you will notice that the lower-right pane has the Members section and the Selection Rules section

Trang 2

Notice in the Selection Rules section how the selected YEAR members

now have the member selection rule you applied to them

8 Just to verify that the EQD has the correct members selected simply right-click

on either one of the year members in the Selection Rules section and click on Preview… You will see the following screenshot, showing you exactly which

members will be selected in this query using the rules you have defined

Trang 3

9 Well, we have our Page Dimensions and Column Dimensions set up

All we need to do now is set up the Row Dimensions Looking at the

organizational pane, pay attention to how we have the dimensions that are

selected as the Row Dimensions arranged We want to create a report that

contains row information for the individual Markets, then the individual

Model Years, and finally the individual Vehicles We do not want to display any data at the total levels for the Row Dimensions Using what you have

already learned about Essbase, you know that you want the data to appear

top-down in the organizational pane, much like the database outlines Thus,

we want the Total Market dimension first, then underneath it we want the

Model Year dimension, and lastly we want the Total Vehicles dimension.

10 Begin row selection by clicking on the Total Market dimension in the left

pane of the screen This will place the Total Market dimension into the

Members section of the lower-right pane.

11 Double-click on the Total Market dimension to place it into the Selection

Rules section of the member selection pane.

12 Right-click on the Total Market dimension in the Selection Rules section

and choose Select then Children This will give you all of the children of the Total Market dimension without giving you the Total Market member itself.

13 Now do the same as in the previous three steps for the Model Year and Total Vehicles dimensions.

14 Once completed your query should look like the following screenshot:

Trang 4

15 Now to test your query you simply right-click on the Microsoft Excel

worksheet that you are designing the query under and click on Apply Query

The data with the layout you defined will be pulled into the Microsoft Excel worksheet Remember to also save your query with the same rules as any

Essbase file object You now have a reusable query that you can use anytime

by simply opening through EQD and running it

16 Oh yes when you save the query, Essbase saves it with an eqd extension

and at the same time saves the query as the equivalent Essbase report script with a rep file extension The actual query can only be opened by the EQD but the report script can be opened by any ASCII text editor and modified

for use with any report script execution method described earlier

Report script by-product

Previously, we explained the Essbase report script and its usefulness as a reporting

tool or as a method of creating extract data from your Essbase database A desirable and welcome by-product of an Essbase query created with the EQD is a matching

Essbase report script

One of the easiest ways to create an Essbase report script is to use the EQD to

design what you would like your report or extract file to look like, then use the

simultaneously generated report script file to use and modify as needed This

is your basic Essbase report script:

// This Report Script was generated by the Essbase Query Designer

<SETUP { TabDelimit } { decimal 13 } { IndentGen -5 } <ACCON <SYM

<QUOTE <END

<PAGE("METRIC")

<COLUMN("Calendar Periods")

<ROW("Total Market","Model Year","Total Vehicles")

// Page Members

// Selection rules and output options for dimension: METRIC

{OUTMBRNAMES}

"Gross Stock"

// Column Members

// Selection rules and output options for dimension: Calendar

//Periods

{OUTMBRNAMES}

<Link ((<LEV("Calendar Periods", "Lev0,Calendar Periods")) AND (

Trang 5

// Selection rules and output options for dimension: Total Market {OUTMBRNAMES}

<Link (<CHILD("Total Market"))

// Selection rules and output options for dimension: Model Year

{OUTMBRNAMES}

<Link (<CHILD("Model Year"))

// Selection rules and output options for dimension: Total Vehicles {OUTMBRNAMES}

<Link (<CHILD("Total Vehicles"))

!

// End of Report

In this case, we see by looking at the script, that the page dimension is the METRIC

dimension, the column dimension is the CalendarPeriods dimension, and the

row dimensions are TotalMarket, ModelYear, and TotalVehicles This will give

us a report where the column headings are members from the CalendarPeriods

dimension, the row headings will be members from the TotalMarket, ModelYear, and TotalVehicles dimensions

Reading further we also see that since the page dimension is the METRIC dimension, the exact member used is the GrossStock member

Continuing down we see that the column headers will be the zero level members

of the CalendarPeriods dimension and the children of 2009 and 2010

Lastly, the row headings will consist specifically of the children of TotalMarket,

the children of ModelYear, and the children of TotalVehicles

You can execute this script in Microsoft Excel by simply pasting the code directly

into a Microsoft Excel worksheet or you can execute it from an Essbase command

script or a MaxL script or even an Essbase API call

Now any modifications can easily be made to a script that you know works perfectly

As with all of the other Essbase features that we have gone over in this book, the

EQD is intuitive and easy to use We highly recommend you take the time to play

with it and create many queries

Always pay attention to the informational pane on the EQD screens as it will

always adjust to the area you are working in and provide pertinent tips and help

Ngày đăng: 06/07/2014, 00:20