Page 1 of 1

How to clear values from a cube dynamically.

Posted: Thu Jun 30, 2011 8:05 am
by ryan
Is there any way(TI code or Function) to clear data from the cube (dynamically), i.e, without creating a view at the highest consolidation levels for the data that you want to clear?

Let suppose:

If I want to clear the values for the Region sales assumptions entered by business for the regions which starts with alphabet 'A'?
If I want to clear the values entered by business for a particular period (based on the element in period dimension)? and so.

I appreciate if any one could help me in providing a proto-type code or function that would be helpful for me.

Thanks in advance.

Re: How to clear values from a cube dynamically.

Posted: Thu Jun 30, 2011 9:55 am
by David Usherwood
Seems to me that Dynamic Subsets should do what you want. Read the eponymous section in the User Guide.

Re: How to clear values from a cube dynamically.

Posted: Thu Jun 30, 2011 11:54 pm
by Martin Ryan
ryan wrote:Is there any way(TI code or Function) to clear data from the cube (dynamically), i.e, without creating a view at the highest consolidation levels for the data that you want to clear?
If you're happy to use TI is there any particular reason why you want to steer clear of viewcreate and viewzeroout? It's quite simple to create a generic process that will handle any cube or dimension. You don't have to create subsets for all the dimensions in the cube, only the ones that you want to restrict.

If that'd work for you I (or half a dozen others) could jot up some sample code

Martin