Tutorials
MSAS
Tutorial 62: MSAS - Writebacks
Tutorial 62: MSAS - Writebacks - Page 2
Tutorial 62: MSAS - Writebacks - Page 3
Dimensions can be modified so that the contents of the dimension changes. The impact of these changes can be viewed by end users browsing cubes. End user’s get an added analytical option due to this process.(This option is only available in the Enterprise Edition of Microsoft SQL Server 2000).
Dimensions can be updated using client applications. Administrators can update the members of a write enabled dimension by using Analysis Manager. Both end users and Administrators can change, move, add and delete members. The member property values can also be updated. These updates are collectively referred to as dimension writeback.
Dimension writebacks are not stored in separate writeback tables as in the case of cubes. The writebacks are directly recorded on to the dimension’s table. The changes to the dimension table included in a multiple partition cube are updated during the writeback process.
The end user has to have read write permissions to update a dimension. The Client application must also support this capability.
The dimension editor can be opened from the Cube Editor to update the members of a Dimension and the associated member property values. The write enabled dimension has to be included in a cube that was processed since the dimension was updated.
Administrators can update the members and associated member property of a write enabled shared dimension by invoking the Dimension members pane of the Dimension Editor or Dimension Browser. Private dimensions which are write enabled can be updated using the Dimension Browser opened from the Cube Editor. The write enabled dimension must be included in the cube that was processed since the dimension last changed.
Dimension writeback cannot be done in distributed partitioned cubes.
A Dimension can be write enabled by setting its Write enabled property to True in the Properties pane of the Dimension Editor.
|
|
Write enabled dimensions have the same processing requirements as changing dimensions. However, writeback does not require reprocessing of the dimension.
Data can be written to a cube if the cube is Write-enabled. The ability to write back data to a cube is called Writeback. The Level depth of the member to be changed determines the type of writeback that is to be used. The PivotTable Service supports writeback on server cubes while writeback to local cubes are not supported.
The lowest level member is the member of the dimension which is defined at the lowest level of the dimension. For example if the product dimension has three levels called Product Category, Brand Name and Product name in that order, the Product name would be the lowest level in the dimension. Any writeback to the Product name level is the writeback to the lowest level of the dimension. These types of Writeback are used to modify individual lowest level member data for speculative analysis. To modify all the members of a given aggregate the aggregate level member writeback is used.
The aggregate level member is defined as a member whose value is dependent upon the values of members related to levels below the aggregate level. Therefore, aggregate level writebacks are more complex. To modify the aggregate level member the user has to modify all the members that are used to construct the value of the aggregate member. A simple procedure would be to use the UPDATE CUBE statement for allocation. Four different types of allocation formulas are used for distributing the desired aggregate value across all the lowest level members. The impact is that all the individual lowest level writebacks are handled easily. Aggregate level writebacks can be used when the Sum aggregate function is used for aggregating values. This kind of writeback is faster as it is treated as a single atomic transaction. This kind of writeback ensures that security or formula validation issues do not leave the cube in an inconsistent state. It must be noted that aggregate level writebacks can produce incorrect results when integer values are allocated due to incremental rounding variations.
Next Page: Tutorial 62: MSAS - Writebacks - Page 2