Bedrock.Dim.CloneFromSubset

This Bedrock TM1 TI will make a copy of an existing dimension subset, creating it as a dimension. 

Parameters

Parameter

Data Type

Default

Explanation

pSourceDim

String


The dimension that is to be cloned.

pSubset

String


The subset that contains the elements to be cloned.

pTargetDim

String


The name of the dimension to be created. The dimension will be rebuilt if it already exists. If this parameter is null then the source dimension name will be appended with '_Clone'.  

pAttr

Boolean

0

Set to 1 to copy the source dimension's attributes to the new dimension.

pDebug

Numeric

0

The debug mode.


Example

ExecuteProcess('Bedrock.Dim.CloneFromSubset',

    'pSourceDim','Account',

    'pSubset','All Planning Level'

    'pTargetDim','Account Planning',

    'pAttr',1,

    'pDebug',0

    );


Copyright 2011, bedrocktm1.org Tested on: TM1 Versions 9.1 to 10.2.1 / Cognos Express 9.0 to 10.2