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

Oracle Essbase 9 Implementation Guide- P61 ppsx

5 231 0

Đ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

Nội dung

Chapter 7 [ 285 ] 6. Select New Member Filter as this option can give you the most control when ltering 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 conguration. In the next screenshot, you will notice that the lower-right pane has the Members section and the Selection Rules section. This material is copyright and is licensed for the sole use by Paul Corcorran on 5th July 2009 8601 ave. p #1, , lubbock, , 79423 Download at Boykma.Com Getting the most out of the Microsoft Excel Add-in [ 286 ] 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 dened. This material is copyright and is licensed for the sole use by Paul Corcorran on 5th July 2009 8601 ave. p #1, , lubbock, , 79423 Download at Boykma.Com Chapter 7 [ 287 ] 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 nally 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 rst, 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: This material is copyright and is licensed for the sole use by Paul Corcorran on 5th July 2009 8601 ave. p #1, , lubbock, , 79423 Download at Boykma.Com Getting the most out of the Microsoft Excel Add-in [ 288 ] 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 dened will be pulled into the Microsoft Excel worksheet. Remember to also save your query with the same rules as any Essbase le 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 le extension. The actual query can only be opened by the EQD but the report script can be opened by any ASCII text editor and modied 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 le to look like, then use the simultaneously generated report script le 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 ( <IDESC("2009"))) <Link ((<LEV("Calendar Periods", "Lev0,Calendar Periods")) AND ( <IDESC("2010"))) // Row Members This material is copyright and is licensed for the sole use by Paul Corcorran on 5th July 2009 8601 ave. p #1, , lubbock, , 79423 Download at Boykma.Com Chapter 7 [ 289 ] // 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 Calendar Periods dimension, and the row dimensions are Total Market, Model Year, and Total Vehicles. This will give us a report where the column headings are members from the Calendar Periods dimension, the row headings will be members from the Total Market, Model Year, and Total Vehicles dimensions. Reading further we also see that since the page dimension is the METRIC dimension, the exact member used is the Gross Stock member. Continuing down we see that the column headers will be the zero level members of the Calendar Periods dimension and the children of 2009 and 2010. Lastly, the row headings will consist specically of the children of Total Market, the children of Model Year, and the children of Total Vehicles. 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 modications 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. This material is copyright and is licensed for the sole use by Paul Corcorran on 5th July 2009 8601 ave. p #1, , lubbock, , 79423 Download at Boykma.Com . licensed for the sole use by Paul Corcorran on 5th July 20 09 8601 ave. p #1, , lubbock, , 794 23 Download at Boykma.Com Chapter 7 [ 287 ] 9. Well, we have our Page Dimensions and Column Dimensions. 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. licensed for the sole use by Paul Corcorran on 5th July 20 09 8601 ave. p #1, , lubbock, , 794 23 Download at Boykma.Com Chapter 7 [ 2 89 ] // Selection rules and output options for dimension: Total

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