Insert N-Element between consolidations, not at the lower end
Posted: Fri May 19, 2017 2:39 pm
I struggle actually with a challenge, which seemed to be easy, but isn't (just for me, hopefully...)
I have a cube which I want to divide into distributed subcubes. This is my dimension used to control, what chunks will be created: I want to derive a summary cube, which collects the All-values from the subcubes, marked here with colored boxes. This works good, also the summary cube is generated. But in case I have a consolidation like Tob2c (the blue one, which is directly under the summary cubes ALL of this control dimension), I don't manage to come over this result: After deleting the connecting consolidations and recreating them as N-elements, that one was inserted by and added under the ALL with
Tob2c unfortunately has no prior parent I could add it to again, as it resides directly under ALL anyway. But in the preceding dim design (picture 1/blue) it was placed between Top4 and Top2b, now TM1 always inserts it at the end of the dim (as noticed in the TM1_ref.pdf:
Am I missing something obvious ?
What I'm looking for is a TI command which does the same thing like I use the dimension structure editor and move the element to there by drag and drop... I guess behind the scenes some of the elements param's are manipulated, which I should control also via TI.
Any hint is highly appreciated...
I have a cube which I want to divide into distributed subcubes. This is my dimension used to control, what chunks will be created: I want to derive a summary cube, which collects the All-values from the subcubes, marked here with colored boxes. This works good, also the summary cube is generated. But in case I have a consolidation like Tob2c (the blue one, which is directly under the summary cubes ALL of this control dimension), I don't manage to come over this result: After deleting the connecting consolidations and recreating them as N-elements, that one was inserted by
Code: Select all
DimensionElementInsert('ControlDim', '', 'Tob2c','n');
Code: Select all
DimensionElementComponentAdd( 'ControlDim', 'ALL', 'Tob2c', 1);
I tried many things to get the Tob2c-node at the old position (picture 2/red line), but not really have success up to now.If this parameter is empty, the new
element is added to the end of the
dimension.

Am I missing something obvious ?
What I'm looking for is a TI command which does the same thing like I use the dimension structure editor and move the element to there by drag and drop... I guess behind the scenes some of the elements param's are manipulated, which I should control also via TI.
Any hint is highly appreciated...