When you create dimension with thousands of member or with many alternate hierarchy, you want to automate the process to add the member.
You use Dimension build rules files to map dimension and member from a data source to an Essbase outline.
During dimension building, the Rules files tells Essbase how to build the hierarchy and how to transform member before loading them.
When you execute a dimension build, Essbase :
Use rules to address issues of hierarchy management.
To create a dimension build rules file:
You can modify the properties of new and existing Essbase - Members during a Essbase - (Dimension|Outline) Build by:
In Essbase - Administration Services Console, the following dimension build options control whether the value in the data source property field is applied to the associated member:
In the Essbase - Data Source, put the properties in the field directly following the field containing the members that the properties modify.
For example, to specify that the Margin% member not roll up into its parent and not be shared:
Margin% Margin% ~ N Sales
Removing a Essbase - Formulas, Essbase - UDA, or Essbase Attributes, or resetting a property to its default value, includes the following additional steps:
The table below lists all member codes used in the data source to assign properties to block storage outline members. (For a list of properties that can be assigned to aggregate storage outline members, see Rules File Differences for Aggregate Storage Dimension Builds.)
Member Property Codes
| Code | Description |
|---|---|
| % | Express as a percentage of the current total in a consolidation |
| * | Multiply by the current total in a consolidation |
| + | Add to the current total in a consolidation |
| - | Subtract from the current total in a consolidation |
| / | Divide by the current total in a consolidation |
| ~ | Exclude from the consolidation |
| ^ | Exclude from all Essbase - (Consolidations|Aggregations) in all dimensions |
| A | Treat as an average time balance item (applies to accounts dimensions only) |
| B | Exclude data values of zero or #MISSING in the time balance (applies to accounts dimensions only) |
| E | Treat as an expense item (applies to accounts dimensions only) |
| F | Treat as a first time balance item (applies to accounts dimensions only) |
| L | Treat as a last time balance item (applies to accounts dimensions only) |
| M | Exclude data values of Essbase - #MI or #MISSING from the time balance (applies to accounts dimensions only) |
| N | Never allow data sharing |
| O | Tag as Essbase - Label only (store no data) |
| S | Set member as stored member (non-Dynamic Calc and not label only) |
| T | Require a Essbase - Two-Pass Calculations (applies to accounts dimensions only) |
| V | Create as Essbase - Dynamic Calculations and Store |
| X | Create as Essbase - Dynamic Calculations |
| Z | Exclude data values of zero from the time balance (applies to accounts dimensions only) |
In a Essbase - (Dimension|Outline) Build, each field in the Essbase - Data Source is part of a column that describes an outline Essbase - Members. Essbase - Fields can contain information about:
For Essbase to process this information, you must specify the following information when setting field types:
See rules_for_assigning_field_types.
| Field Type | What the Field Contains |
|---|---|
| Essbase - Aliases | An alias Note: The alias value will not be assigned to the new member if Member update dimension build is set to Remove unspecified and the data source for a new member contains the alias value of a removed member. |
| Property | A member property. See member_property_codes. |
| Essbase - Formulas | A formula |
| Currency name | (Essbase - Block storage outlines only) A currency name |
| Currency category | (Essbase - Block storage outlines only) A currency category |
| Essbase - UDA | A UDA |
| Attribute parent | In an Essbase - Attribute dimensions, the name of the parent member of the attribute member in the following field |
| The name of a specific attribute dimension | A member of the specified attribute dimension. This member is associated with a specified generation or level of the selected base dimension. |
| Essbase - Generation | The name of a member in the specified generation |
| Field Type | What the Field Contains |
|---|---|
| Duplicate generation | The name of a member with a Essbase - Shared Members as a child |
| Duplicate generation alias | The alias for the Essbase - Shared Members |
| Essbase - Level | The name of a member in a level |
Duplicate properties are not related to duplicate member names.
| Field Type | What the Field Contains |
|---|---|
| Duplicate level | The name of a member with a Essbase - Shared Members as a child |
| Duplicate level alias | The alias for the shared member |
Duplicate properties are not related to duplicate member names.
The table below lists the rules for selecting valid field types, depending on the build method.
Rules for Assigning Field Types Based on Build Method
GEN2,PRODUCT GEN3,PRODUCT GEN4,PRODUCT
GEN2,PRODUCT GEN3,PRODUCT OUNCES3,PRODUCT
The generation number must correspond to the generation of the member in the outline for which the field provides values. For example, the 3 in GEN3,PRODUCT shows that the values in the field are third-generation members of the Product dimension. The 2 in ALIAS2,POPULATION shows that the values in the field are associated with the second-generation member of the Population dimension.
LEVEL3,PRODUCT OUNCES3,PRODUCT LEVEL2,PRODUCT
If field type is parent or child, enter 0 (zero) in the Number text box.
The generation or level number must correspond to the generation or level of the associated base member in the outline. For example, the 3 in OUNCES3,PRODUCT shows that the values in the field are the members of the Ounces attribute dimension that are associated with the third-generation member of the Product dimension in the same source data record.
If necessary, move the fields to the required locations. See Moving Fields.
Within the rules file, you define operations to be performed after the data source has been read:
Removing unspecified members is available only with the generation reference, level reference, and parent-child reference build method.
Outlines are invalid if removing members results in level 0 Dynamic Calc members without formula.
For a dimension build rules file to validate, all of the following questions must be answered “yes.”
Dimensions can be specified in either the header in the rules file or the header in the data source, but not in both.