ViewZeroOut TM1 Function: Syntax and Use
I came across this extremely simple method of just zapping the data from a view in a TM1 cube today, ViewZeroOut literally removes all data from a view. . Syntax The syntax is just ViewZeroOut ( cubename, viewname ); where Example sCube = ‘Assumption’; sView = ‘This Year’; ViewZeroOut ( sCube, sView ); This will remove all data […]
Clear Cube Process
It is good practice to create and destroy a view for clearing rather then leaving a large clear view sitting under the cube waiting for a user to click on it. The code below creates a view and assigns subsets to that view, zero’s the view out then destroys the view and subsets.