Page 1 of 1

Unable to delete the last element of the dimension through TI process

Posted: Mon Jan 28, 2019 2:48 pm
by spartan
Hello,

I could not able to delete the last element in the TM1 dimension, i am using dimensionelementdelete function in TI process.

For example.. if their are a,b,c,d in a dimension i can able to delete each element one by one, but i could not able to delete the last element, if I try
to delete all elements at a time i could not able to do that as well.

If i delete the last element it is not deleteing, through ti process if i add a element the last element is updated by the added element.

I can update,add the elements but i cant delete all the elements at a time and cant delete last element as well.

Could you help me through this.

Re: Unable to delete the last element of the dimension through TI process

Posted: Mon Jan 28, 2019 3:20 pm
by lotsaram
Read the request for assistance guidelines and post your code.

Re: Unable to delete the last element of the dimension through TI process

Posted: Mon Jan 28, 2019 3:47 pm
by Wim Gielis
Next to posting your actual code, are you sure you want to physically delete elements ? Is that appropriate in your model, or would you rather want to delete the cube data linked to the elements instead of the elements themselves ?