Step 3: Open data load file or the SQL data source file
Step 4: Set the Data Source Properties
Step 5: Set the View to Dimension build fields
Step 6: Select Dimension build method
Generation reference
Level reference
Parent-child reference
Step 7: Format file
Step 8: Associate fields with dimensions
Step 9: Validate the Dimension Build rules file
Update your outline using a rules file
Update your outline using the EAS Outline Editor
Update using MaxL Shell
Executing MaxL from EAS editor
Executing MaxL from command prompt
Attribute dimensions
User Defined Attributes (UDA)
Dynamic Time Series
Shared members
Summary
Chapter 4: Loading Data into Essbase
Make your data Essbase-friendly
Essbase-friendly thoughts
Essbase-friendly example
Types of data sources
Type of data
Types of files used for data loads
Relational databases
Data load methods
Data file freeform (no load rule)
Essbase export and import (no load rule)
Structured data load (load rule used)
Microsoft Excel Lock and Send (no load rule)
Building your first data load rules file
Step 1: Starting the Data Prep Editor
Step 2: Associating the data load rules file
Step 3: Opening data load file or the SQL
data source file
Step 4: Setting the View to Data Load Fields
Step 5: Setting the Data Source Properties
Step 6: Updating the Data Load Settings
Step 7: Setting the Data Load Values
Clearing Data Combinations
Header Definition
Step 8: Associating fields with Data Load Properties
Global properties
Data Load Properties
Step 9: Validating the data load rules file
Step 10: Saving the data load rules file
Loading data into your database
Using the EAS to load data into your
Essbase cube
Loading data using MaxL
Data Load vs. Dimension Build
Summary
Chapter 5: Calculating your Essbase Cube
Calculating your database
The Essbase calculation script
Essbase outline member formula
Calculation types explained
Calculation Scripts
Stored data member formula
Dynamic Calc and Dynamic Calc and Store
Essbase calculation terminology
Default database calculation script
Calc All
Calculate/Aggregate dimension
Essbase Calc commands and functions
Data declarations
Control flow
FIX/ENDFIX
EXCLUDE/ENDEXCLUDE
Functional
SET command functions
Conditionals
IF/ENDIF
Boolean
Relationship functions
Operators
Member set
Range (Financial)
Forecasting
Statistical
Date and Time
Miscellaneous
Order of calculation
Two-Pass Calc
Using Substitution Variables
Substitution Variables using EAS
Substitution Variables using MaxL
Create variables at the server level
Create variables at the application level
Create variables at the database level
Displaying the Substitution Variable and its value
Displaying the Substitution Variable in the
SQL editor
Building your first Calculation Script
Writing and saving a Calculation Script
Executing your Calculation Scripts
Running Calculation Scripts manually
using EAS
Running a Calculation Script using an Essbase Command Script (EssCmd)
What the EssCmd script looks like
Running a Calculation Script using a
MaxL Script
Running a Calculation Script using the Essbase API
Running a Calculation Script from
Microsoft Excel
Running a Calculation Script through the
Essbase Add-In
Running a Calculation Script using Microsoft
Excel VBA
Summary
Chapter 6: Using your Essbase Cube
Using your Essbase database
How do you use your data in the real world
Ad hoc data
Canned reporting
Export data
Forecast analysts
Planning analysts
Budget analysts
Financial analysts
The real target users of your Essbase data
Ways to extract your Essbase data
The Essbase Report Script
How to create an Essbase Report Script
Report script commands and functions
Report layout commands
Data range commands
Data ordering command
Member selection and sorting commands
Format commands
Column or row calculation
Member names and aliases
Building your first Essbase report script
Executing your report scripts
Run reports using EAS
Running a report script using an Essbase command script
Running calc using a MaxL script
Previewing data in EAS
Cubeview
Properties
Summary
Chapter 7: Getting the most out of the Microsoft Excel Add-in
Reporting with the Microsoft Excel Add-in
Connecting to Essbase
Connecting to Essbase from Microsoft Excel
Disconnecting from Essbase
Launching the Essbase Query Designer
Retrieving data from Essbase
Setting the add-in spreadsheet options
Display tab
Zoom tab
Mode tab
Global tab
Selecting Essbase members for your query
Using the Keep Only function
Using the Remove Only function
Zooming in on your data
Zooming out on your data
Pivot Essbase members on your spreadsheet
Flashback: The Essbase Add-in Undo
Locking the data and retrieving
Locking the data
Unlocking the locked data
Sending your data to the database
Running a database calculation
Retrieving your sheet without data
Zooming in on sample data
Linking objects to your data
Creating graphical data representations
Using the currency conversion tool
Custom Microsoft Excel workbook reporting
A final word on the Essbase add-in
Using the Essbase Query Designer
Where do I find the Essbase Query Designer
Creating a query with Essbase Query Designer
Page dimensions
Row dimensions
Column dimensions
Sample query
Report script by-product
Summary
Chapter 8: Automating your Essbase Cube
Essbase command scripts (EssCmd)
Creating an Essbase command script
EssCmd commands and categories
Coding a basic EssCmd
Always remember EssCmd logging
Connecting to an Essbase server
What about error checking
Adding some functional commands
The finished script
Executing an EssCmd
Essbase MaxL scripts
Logging on to the Essbase server
Working with an Essbase application in MaxL
Creating an application
Altering the application
Display application
Drop application
Working with an Essbase database from MaxL
Creating or replacing a database
Altering a database
Display database
Drop database
Working with data in MaxL
Working with database calculations in MaxL
Create calculation
Display calculation
Execute calculation
Drop calculation
Working with user privileges in MaxL
Create user
Alter user
Display user
Drop user
Grant user
Working at the System level with MaxL
Alter system properties
Display system properties
Substitution variables
Executing a MaxL statement
Executing MaxL from Command Prompt
Executing MaxL from EAS
Essbase Application Programming
Interface (API)
Installing the Essbase API
What you should know to use the
Essbase API
What functions are available in the
Essbase API
Essbase API programming tips
Essbase nested coding style examples
Essbase API function declarations
How to code an API function
Essbase API code sample blocks
The sample API subroutine explained
Summary
Chapter 9: Advanced Techniques
Performance tuning your database
The shape of your database outline
The hourglass outline
Database block size
Database configuration settings
Data retrieval buffers
Data cache settings
Data load and storage settings
Partitioning databases
Analytic server configuration file
Configuration categories
Configuration settings to consider
Ports and connections
Logging and error handling
Calculation
Data import/export
Memory management
essbase.cfg memory settings
Summary
Chapter 10: Essbase Analytics Option
What is ASO
Creating an aggregate storage
Application|Database
Hierarchies
Stored hierarchies
Dynamic hierarchies
Outline paging
Aggregation
MDX query language
MDX functions for ASO
MDX function examples
MDX query syntax
Executing an MDX query
Tuples and Sets
Pros and cons of ASO and BSO
Pros and cons of BSO
Pros
Cons
Pros and cons of ASO
Pros
Cons
Summary
Chapter 11: Essbase System 9 Components
Overview of System 9 components
Essbase Analytic Services (Essbase agent)
Essbase Planning
Essbase analytics
Hyperion Application Link/Oracle
Application Link
Oracle Business Rules
Oracle Reports
Essbase Shared Services
Oracle Essbase Provider Services
Essbase Smart Office
Oracle Essbase Financial Reporting
Smart View for Microsoft Office
Summary
Appendix: A New Essbase Companion—Oracle Smart View
Reporting with Oracle Smart View
Adding a data source with the connection manager
Retrieving data using Smart View in
Microsoft Excel
POV Manager
Submitting data and calc scripts in Smart View
Using Smart View in other Microsoft Office products
Index
Nội dung
Chapter 8 [ 305 ] • Calculation • Data • Filter • Location Alias • Aggregate Build • Aggregate Process • Calculation • Outline • Partitions • Tablespace • Session The following screenshot shows you the list of all of the available MaxL statements: Let's walk through some of the MaxL statements which will be used in the day-to-day life of an Essbase administrator. Logging on to the Essbase server Obviously, the rst step that is required to use MaxL is to log on to the Essbase server. Here is a step-by-step demonstration of how to log on to an Essbase analytic server using MaxL statements. 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 Automating your Essbase Cube [ 306 ] Syntax: Login <USERNAME> /* enter your user name or batch id */ Identied by <PASSWORD> /* enter your password or batch password */ On <HOSTNAME> /*enter the server name */ Code Sample: login <USERNAME> identified by <PASSWORD> on <HOSTNAME>; Guess what? You have just written your rst MaxL statement. Did we say something new here? Well, we have learned a little bit about a few MaxL statements in earlier chapters of this book, but here we are discussing MaxL for the sole purpose of learning how to use the MaxL scripting language and all of the benets these commands can bring to the Essbase administrator. Working with an Essbase application in MaxL As a part of your weekly or monthly maintenance, you may have routine tasks to perform on the application level. Guess what? You can easily execute repetitive tasks using the MaxL scripting language. A word of caution, the user who performs these MaxL actions should have System Designer access or higher. At the application level you can do some very important actions with MaxL. You can create a new application on the analytic server or you can create a copy of an existing application. You can also alter an application, display an application, and nally even drop an application. Let us see how we can use each of these actions in a MaxL script. Creating an application Using the MaxL scripting language you can either create a new application or copy an existing application. You may wonder why we would need to create an application by using a MaxL script. Well we may need to create a yearly MaxL job which requires you to copy an existing application to a new application as a backup, but also you will need to create a new application to replace the old application for the new year's cycle. Both of these tasks, creating a new application and copying an existing application can be done using the MaxL Create statement as shown in the syntax and code sample as follows: 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 8 [ 307 ] Syntax: create application 'Application_Name' type 'Mode' as 'Application_ Name ' comment 'Comment-String'; 'Application_Name': Name of the new application should be upto 8 characters long as with all Essbase database objects. type: Indicates whether this application is to be Unicode or not with the default being is non-Unicode mode. Unicode is a system of assigning a unique number to each character regardless of the language or platform. When a database is created using the Unicode convention, users from all parts of the globe, using all different character sets can use your Essbase system without worry of data corruption. As 'Application_name' [optional]: Name of the existing application which will be copied to the new application. comment 'Comment-String' [optional: This is a comment which is given to the application and can be viewed in the application properties screen. Example 1: In the following example, we are creating a new application. Since we did not mention the Unicode mode, by default, it will be created as a non-Unicode application. Create application ESSCARNW comment 'New Esscar Application'; Example 2: In the next example, we are creating a new application which is same as the existing application and will be for the purpose of an application backup. Create application ESSCARBK as ESSCAR comment 'Back up of Esscar Application'; Now that you have seen how we can create an application using a MaxL statement, let us see how we can use the alter application statement in MaxL. Altering the application With the alter statement, you can set the properties for an application, add, modify, or drop a substitution variable, load or unload an application, enable or disable application start up commands, add an application comment, or clear an application log le. 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 Automating your Essbase Cube [ 308 ] Keep the following screenshot in mind when you are looking at the MaxL alter application command examples that follow. For reference, whatever that is performed in the script can also be performed through the Application Properties screen accessed through the EAS tool. Let's look at a few more commonly used alter statements. Using the SET properties statement You can set an application's properties using the alter and set statements. Some of the set commands are: • set minimum permission: Grants all authorized users a minimum application permissions level which is valid for all of the databases under this application. This command directly corresponds to the Minimum access level setting in the Application Properties screen on the General tab. Syntax: alter application <App-Name> set minimum permission <READ | WRITE | CALCULATE | DATABASE DESIGNER>; Code Sample: alter application 'ESSCAR' set minimum permission read; 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 8 [ 309 ] • set lock_timeout after: This is the maximum time a user can maintain a database lock if idle. The default lock time out is 60 minutes. Syntax: alter application <App-Name> set lock_timeout after integer <MINUTES | SECONDS>; Code Sample: alter application 'ESSCAR' set lock_timeout after 75 minutes; • set max_lro_file_size: You can set a maximum le size of an LRO. This can be either unlimited, or you can specify a le size. Syntax: alter application <App-Name> set max_lro_file_size <UNLIMITED | LRO SIZE>; Code Sample: alter application 'ESSCAR' set max_lro_file_size 32768b; This code sets the maximum LRO le size to 32KB. • set type unicode_mode: You can convert a non-Unicode into a Unicode mode. Remember, you cannot convert a Unicode application to a non-Unicode application. However, you can convert a non-Unicode application to Unicode. Syntax: alter application <App-Name> set type unicode_mode; Code Sample: alter application 'ESSCAR' set type unicode_mode; Using load/unload database These commands will load and unload the databases into or out of system memory. Syntax: alter application <App-Name> load database <Db-Name>; alter application <App-Name> unload database <Db-Name>; Code Sample: alter application 'ESSCAR' load database 'ESSCAR'; alter application 'ESSCAR' unload database 'ESSCAR'; 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 . in the day-to-day life of an Essbase administrator. Logging on to the Essbase server Obviously, the rst step that is required to use MaxL is to log on to the Essbase server. Here is a step-by-step. on to an Essbase analytic server using MaxL statements. This material is copyright and is licensed for the sole use by Paul Corcorran on 5th July 20 09 8601 ave. p #1, , lubbock, , 794 23 Download. licensed for the sole use by Paul Corcorran on 5th July 20 09 8601 ave. p #1, , lubbock, , 794 23 Download at Boykma.Com Automating your Essbase Cube [ 308 ] Keep the following screenshot in mind