Hierarchy with TI
Posted: Wed Jan 21, 2015 4:54 pm
Hello.
Maybe somme may help me with the following topic. My source file is structred as follows:
V1 => element-1 , element-2 , ....
V2 => element-a , element-b, ....
I'd like to set up 2 hierarchies with TI
Groupe1
-element-1
-elemnt-2
Groupe2
-element-a
-elemnt2-c
When I'm trying to set up these 2 hierarchies with TI, it works fine if it's done separetly for Groupe1 and for Groupe 2.
When I set up 2 follwoing scripts in the same time in Metadata section and run the process:
DIMENSIONELEMENTINSERT(Dimension1,'',Groupe1,'c');
DIMENSIONELEMENTINSERT(Dimension1,'',V1,'n');
DIMENSIONELEMENTCOMPONENTADD(Dimension1,Groupe1,V1,1.000000);
DIMENSIONELEMENTINSERT(Dimension1,'',Groupe2,'c');
DIMENSIONELEMENTINSERT(Dimension1,'',V2,'n');
DIMENSIONELEMENTCOMPONENTADD(Dimension1,Groupe2,V2,1.000000);
I get the resultats as follows:
Groupe1
-element-1
-elemnt-2
Groupe2
-element-a
-elemnt2-c
+ all ellements in addition:
-element-1
-elemnt-2
-element-a
-elemnt2-c
How to define the script which allows to avoid all these single ellements in addition of 2 consolidated levels Groupe1 and Groupe2 ?
Thanks a lot for your help
Adam
Maybe somme may help me with the following topic. My source file is structred as follows:
V1 => element-1 , element-2 , ....
V2 => element-a , element-b, ....
I'd like to set up 2 hierarchies with TI
Groupe1
-element-1
-elemnt-2
Groupe2
-element-a
-elemnt2-c
When I'm trying to set up these 2 hierarchies with TI, it works fine if it's done separetly for Groupe1 and for Groupe 2.
When I set up 2 follwoing scripts in the same time in Metadata section and run the process:
DIMENSIONELEMENTINSERT(Dimension1,'',Groupe1,'c');
DIMENSIONELEMENTINSERT(Dimension1,'',V1,'n');
DIMENSIONELEMENTCOMPONENTADD(Dimension1,Groupe1,V1,1.000000);
DIMENSIONELEMENTINSERT(Dimension1,'',Groupe2,'c');
DIMENSIONELEMENTINSERT(Dimension1,'',V2,'n');
DIMENSIONELEMENTCOMPONENTADD(Dimension1,Groupe2,V2,1.000000);
I get the resultats as follows:
Groupe1
-element-1
-elemnt-2
Groupe2
-element-a
-elemnt2-c
+ all ellements in addition:
-element-1
-elemnt-2
-element-a
-elemnt2-c
How to define the script which allows to avoid all these single ellements in addition of 2 consolidated levels Groupe1 and Groupe2 ?
Thanks a lot for your help
Adam