Exforsys.com
 
Home Tutorials MSAS
 

Tutorial 36: MSAS: Creating Custom Rollups

 

Tutorial 36: MSAS: Creating Custom Rollups - Page 2

Page 2 of 3


Creating a custom rollup operator for a shared dimension



Access the dimension that will contain the custom rollup operator by right-clicking the dimension, and then click Edit.


In Dimension Editor, in the tree pane, click the level for which to create the custom rollup operator.


If the properties pane is not expanded, expand it by clicking Properties beneath the tree pane.


In the properties pane, click the Advanced tab.


Click the value beside Unary Operators, and then click the edit (...) button.


In the Define Unary Operator Column dialog box, select the Enable Unary Operators check box to enable custom rollup operators for the level.



Create or select an existing column to store the custom rollup operators:



To create a new column in the dimension table, select Create a new column, and then in the New column name box, type the name of the new column.


A dimension table can have multiple columns (one per level) that store custom rollup operators. Therefore, it is recommended that the new column name identify the column that stores the members to which the custom rollup operators apply (that is, the column for the level selected in Step 2.) For example, if in Step 2 you selected the Store Country level, and its members are stored in the store_country column, in the New column name box, type:

store_country_custom_rollup_operator

Note If the dimension is not write-enabled, you must use a tool other than Dimension Editor or Analysis Manager to add values to the new column.



To select an existing column in the dimension table, select Use an existing column, and then in the Existing column box, select the column.


In the Define Unary Operator Column dialog box, click OK.


On the File menu, click Save.  After you perform this procedure once for a level, you do not need to repeat it as long as the column that stores the custom rollup operators remains in the dimension table.

(Optional.) To browse your custom rollup operators, click the Data tab, and then expand the dimension members pane. Custom rollup operators are indicated next to member names. If you created a new, unpopulated column in Step 7, the plus operator (+), which is the default rollup operator, will display beside the member names.


(Optional.) To edit custom rollup operators in a write-enabled parent-child dimension, select a dimension member from the dimension members pane, and then select an operator in the column beside UNARY_OPERATOR in the member properties pane.


After editing, click Save on the File menu to commit changes to the dimension table.
Note Before you can edit the write-enabled dimension, it must be included in a cube, and then the cube must be processed.







Next Page: Tutorial 36: MSAS: Creating Custom Rollups - Page 3


Read Next: Tutorial 37: MSAS: Introducing Member Properties



 

 

Comments



Post Your Comment:

Members Please Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe    

Sponsored Links

 

Subscribe via RSS


Get Daily Updates via Subscribe to Exforsys Free Training via email


Get Latest Free Training Updates delivered directly to your Inbox...

Enter your email address:


 

Subscribe to Exforsys Free Training via RSS
 

 
Partners -  Privacy and Legal Policy -  Site News -  Contact   Sitemap  

Copyright © 2000 - 2010 exforsys.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape