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

Post Reply
spartan
Posts: 47
Joined: Thu Jun 21, 2018 8:33 am
OLAP Product: IBM cognos
Version: 10.2.2
Excel Version: 2013

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

Post 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.
lotsaram
MVP
Posts: 3652
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

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

Post by lotsaram »

Read the request for assistance guidelines and post your code.
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
Wim Gielis
MVP
Posts: 3113
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.0.9.18
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

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

Post 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 ?
Best regards,

Wim Gielis

IBM Champion 2024
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Post Reply