Hi , I need help for an issue on TM1, anybody WHO can answer my question .. ı need to plus two items and ımport two one item in another cube ?
these are my codes in process..
İliski = CellGetS('}ElementAttributes_2_Hesap_Planı',V_Kalemler, 'Mali_Tablo_Secimi');
Seçim = CellGetS('}ElementAttributes_2_Hesap_Planı',V_Kalemler, 'TP_YP_Secimi');
CellPutN(0, 'TM1_Mali_Tablo',İliski,Seçim,'Solo',P_Ay,P_Senaryo,'MİZAN');
Data = CellGetN('Mizan',V_Kalemler, P_Ay, P_Senaryo,'FİNAL MİZAN');
CellPutN(NValue, 'TM1_Mali_Tablo',İliski,Seçim,'Solo',P_Ay,P_Senaryo,'MİZAN');
CellPutN(Data+NValue, 'TM1_Mali_Tablo',İliski,Seçim,'Solo',P_Ay,P_Senaryo,'MİZAN');
TM1 Help
-
- Regular Participant
- Posts: 424
- Joined: Sat Mar 10, 2012 1:03 pm
- OLAP Product: IBM TM1, Planning Analytics, P
- Version: PAW 2.0.8
- Excel Version: 2019
Re: TM1 Help
Hi You have to derive or get the value from the cube for example by using
CellGetN(Cube,element1,element2......)
Add the derived value with existing value
nValue=A(the old value)+B(the value you got through CellGetN
Pass the new value to the cube you want:
you don't need this statement that is given in your code:
CellPutN(NValue, 'TM1_Mali_Tablo',İliski,Seçim,'Solo',P_Ay,P_Senaryo,'MİZAN');
Thanks
CellGetN(Cube,element1,element2......)
Add the derived value with existing value
nValue=A(the old value)+B(the value you got through CellGetN
Pass the new value to the cube you want:
Code: Select all
CellPutN(nValue,Mali_Tablo',İliski,Seçim,'Solo',P_Ay,P_Senaryo,'MİZAN');
CellPutN(NValue, 'TM1_Mali_Tablo',İliski,Seçim,'Solo',P_Ay,P_Senaryo,'MİZAN');
Thanks
"You Never Fail Until You Stop Trying......"