Hello All,
I have following code in MY TI:
E.g.:
#==========================================================================
IF ((DIMIX(pDim,pInsert2))=0 & (DIMIX(pDim,pInsert3))<>0 );
DimensionElementComponentAddDirect(pDim, pInsert3,pInsert2, 1);
AttrPutS(vlev2,pdim,pInsert2,'A_PC');
IF((DIMIX(pDim,pInsert))=0);
DimensionElementComponentAddDirect(pDim, pInsert2,pInsert, 1);
AttrPutS(vLev,pdim,pInsert,'A_PC');
IF((DIMIX(pDim,pElm))=0);
DimensionElementComponentAddDirect(pDim, pInsert,pElm, 1);
AttrPutS(vPCA,pdim,pElm,'A_PC');
ENDIF; ENDIF;
ENDIF;
#============================================================================
Where,
pElm=Lev0
pInsert=Lev1
pInsert2=Lev2
pInsert3=Lev3
Issue: Just N level attributes are getting placed in the dimension. All other level has no attributes after running process.
Can anyone throw lights on the concepts?
Please feel free if you require further information.
Thanks
Dharav
Dimension Update
-
- Regular Participant
- Posts: 193
- Joined: Wed Apr 02, 2014 6:43 pm
- OLAP Product: TM1
- Version: 10.2
- Excel Version: 2010
Re: Dimension Update
Guys,
It is resolved. That was silly. I did not copy the code properly from notepad. The dimensionelementinsert function should be there and we good to go.
Thnaks for your time.
Thank You
It is resolved. That was silly. I did not copy the code properly from notepad. The dimensionelementinsert function should be there and we good to go.
Thnaks for your time.
Thank You