Hello,
First time post here. We have TM1 9.4 and I am the admin. However, I am not technical. I am what IBM calls the "business owner." I am trying to rename an existing element. In this case the element is a GL account. For example, I want rename 10100 - Disbursement Account to 10100 - Lodging Disbursement Account. I go to the cube that holds the attributes for this element and rename it. Simple. Howerver, when I pull up this element in the cube viewer and slice to Excel, I get a KEY_ERR. I have the same problem when an orphan comes through. In this case, I have to name it and then place it in the hierarchy. If I place it in the hierarchy and then name it, I get a KEY_ERR.
Any suggestions? I am a novice admin. I really don't want to delete from the hierarchy and reload the entire dataset to follow my orphan naming process. The installer said this is a bug within the software.
Thanks,
Ben
9.4 - renaming an element
-
- Site Admin
- Posts: 6647
- Joined: Sun May 11, 2008 2:30 am
- OLAP Product: TM1
- Version: PA2.0.9.18 Classic NO PAW!
- Excel Version: 2013 and Office 365
- Location: Sydney, Australia
- Contact:
Re: 9.4 - renaming an element
It's an issue that I've seen in quite a few versions of TM1 and unfortunately there's no predicting when it'll happen.ccpr20 wrote:First time post here. We have TM1 9.4 and I am the admin. However, I am not technical. I am what IBM calls the "business owner." I am trying to rename an existing element. In this case the element is a GL account. For example, I want rename 10100 - Disbursement Account to 10100 - Lodging Disbursement Account. I go to the cube that holds the attributes for this element and rename it. Simple. Howerver, when I pull up this element in the cube viewer and slice to Excel, I get a KEY_ERR.
As per Peter's suggestion sometimes a restart of Excel will help... sometimes it won't. Consequently I usually keep alias changes to just before I do a scheduled reboot the server. After a server reboot the Key Errors won't appear.
Now that one I haven't seen, but I haven't used 9.4 in anger. Generally if you assign an alias for the first time, there are no problems with key errors in my experience. I'd try the suggestion of restarting Excel with that one, and ask other users to advise you if they still encounter problems. Also make sure that you're not assigning an alias at the time that the new element is added, otherwise it will be an alias change rather than an assignment... and as we know alias changes can potentially cause problems.ccpr20 wrote: I have the same problem when an orphan comes through. In this case, I have to name it and then place it in the hierarchy. If I place it in the hierarchy and then name it, I get a KEY_ERR.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-
- Posts: 5
- Joined: Tue Mar 09, 2010 11:08 pm
- OLAP Product: Cognos TM1
- Version: 9.4
- Excel Version: Excel 2007
Re: 9.4 - renaming an element
Thanks for the prompt responses. I did try to restart Excel but that did not work. I think I'll have to coordinate with IT after month-end close to do all my renames and have them reboot. If there are any other suggestions, I am open. I will report back what I find.
Again, I appreciate the help.
Again, I appreciate the help.
-
- MVP
- Posts: 214
- Joined: Tue Nov 11, 2008 11:57 pm
- OLAP Product: TM1, CX
- Version: TM1 7x 8x 9x 10x CX 9.5 10.1
- Excel Version: XP 2003 2007 2010
- Location: Hungary
Re: 9.4 - renaming an element
One question: did you use the attribute editor or opened a view from the }Attribute cube?ccpr20 wrote:I go to the cube that holds the attributes for this element and rename it. Simple.
Try to edit it from the attribute editor to see whether any error message appears or not.
Regards,
Peter
Best Regards,
Peter
Peter
-
- MVP
- Posts: 3703
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: 9.4 - renaming an element
It's not a restart of Excel that will help but a restart of the TM1 server.ccpr20 wrote:Thanks for the prompt responses. I did try to restart Excel but that did not work. I think I'll have to coordinate with IT after month-end close to do all my renames and have them reboot. If there are any other suggestions, I am open. I will report back what I find.
Again, I appreciate the help.
In these instances where an alias attribute value has changed but the change in alias isn't showing up correctly forcing a recompile of the dimension itself can often solve the problem without resorting to restarting the server. The easiest way to force the dimension to recompile is to insert a dummy element, save the dimension then delete the dummy element and resave.
-
- Site Admin
- Posts: 6647
- Joined: Sun May 11, 2008 2:30 am
- OLAP Product: TM1
- Version: PA2.0.9.18 Classic NO PAW!
- Excel Version: 2013 and Office 365
- Location: Sydney, Australia
- Contact:
Re: 9.4 - renaming an element
As a universal fix, yes. But I've seen instances (at least in the versions 7/8 series, haven't encountered it in a 9+ series but as I said I for one never do a rename during the day any more) where a worksheet will not recognise the new name... but is still Ok with the old one. Kick Excel over and it goes away. As with the key error itself, it's random and impossible to reproduce... but Peter's suggestion won't do any actual harm.lotsaram wrote:It's not a restart of Excel that will help but a restart of the TM1 server.ccpr20 wrote:Thanks for the prompt responses. I did try to restart Excel but that did not work. I think I'll have to coordinate with IT after month-end close to do all my renames and have them reboot. If there are any other suggestions, I am open. I will report back what I find.
Again, I appreciate the help.
Ah yes, I'd forgotten about the recompile the dim trick; good call.lotsaram wrote:In these instances where an alias attribute value has changed but the change in alias isn't showing up correctly forcing a recompile of the dimension itself can often solve the problem without resorting to restarting the server. The easiest way to force the dimension to recompile is to insert a dummy element, save the dimension then delete the dummy element and resave.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-
- MVP
- Posts: 3703
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: 9.4 - renaming an element
Application.Run "M_Clear"
... should also achieve the same result as an Excel restart if it is a Perspectives caching issue as opposed to server issue.
... should also achieve the same result as an Excel restart if it is a Perspectives caching issue as opposed to server issue.
-
- Posts: 5
- Joined: Tue Mar 09, 2010 11:08 pm
- OLAP Product: Cognos TM1
- Version: 9.4
- Excel Version: Excel 2007
Re: 9.4 - renaming an element
Thank you for all of the posts!! Based on your suggestions, I got it to work through the recompiling route.
First, I renamed the element via the }ElementAttributes cube. Second, I inserted a dummy element in the same dimension and saved. I resliced to Excel and no KEY_ERR on the new alias.
Thanks so much.
First, I renamed the element via the }ElementAttributes cube. Second, I inserted a dummy element in the same dimension and saved. I resliced to Excel and no KEY_ERR on the new alias.
Thanks so much.
