Key Errors when Description Alias is turned on

Post Reply
User avatar
LeeTaylor1979
Posts: 63
Joined: Mon Aug 25, 2008 12:53 pm
OLAP Product: IBM Cognos TM1
Version: 10.2.2
Excel Version: 2010

Key Errors when Description Alias is turned on

Post by LeeTaylor1979 »

Hello All,

I am very pleased to see this forum up and running again.

Can anyone help with the following :

I have just created 3 new elements in a dim (via edit dimension structure)

I have been into the security side of things and given appropriate people write access.

I then added an attribute for example:

Element = O8
Attribute = O8 - LTGS

At first i thought it might be the - but I have lots of other elements with this symbol and they work fine.

If anyone can point me in the right direction it would be very much appreciated.

Regards


Lee Taylor
User avatar
bihints.com
Posts: 52
Joined: Tue May 20, 2008 8:56 am
OLAP Product: TM1
Version: 9.0.3
Excel Version: 2003
Contact:

Re: Key Errors when Description Alias is turned on

Post by bihints.com »

New attributes are not updated dynamically in Excel.

You either need to restart your excel or run the macro "m_clear" that will update the attribute tables in Excel.
ASEVEREYNS
Posts: 4
Joined: Mon Jun 02, 2008 3:28 pm

Re: Key Errors when Description Alias is turned on

Post by ASEVEREYNS »

Dear Lee,

This is a know bug in v9.1 SP3 (although I never managed to figure out the exact circumstances under which it appears). It is supossedly fixed in v9.1 SP3 U2.

Regards,
Anthony
User avatar
Steve Rowe
Site Admin
Posts: 2455
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: TM1 v6,v7,v8,v9,v10,v11+PAW
Excel Version: Nearly all of them

Re: Key Errors when Description Alias is turned on

Post by Steve Rowe »

Yeah this bug has been around for ages...

If you execute the DBRW against alias that are not correct yet you *KeyErrors
then you got into SE and correct the description,
you will continue to get KeyErrors even if the alias is already set up.

Restarting the client clears the issue (as does M_clear I suspect though I've not tried this.)
Technical Director
www.infocat.co.uk
User avatar
Olivier
Community Contributor
Posts: 159
Joined: Thu Jun 26, 2008 5:46 am
OLAP Product: TM1
Version: Tm1 10.2.2fp4 -> 2.09
Excel Version: Excel 2013 - 2019
Location: Sydney

Re: Key Errors when Description Alias is turned on

Post by Olivier »

Hi ,

It has happen to me quite a few times,(V9.1 SP2 Update 3)

All excel templates using attributes (Any Alias of Any Dimension) will start to retrieve KEY_ERRORS.
It s not limitated to one user in particular, and therefore killing the excel session and restart the client doesn't resolve.
The only option i found so far was to restart the TM1 server.( How confortable :evil: ...)

Good luck,

Olivier
HTH
Olivier
Martin Erlmoser
Community Contributor
Posts: 125
Joined: Wed May 28, 2008 1:22 pm
OLAP Product: TM1, Cognos Express,..
Version: 9.1.4 FP1
Excel Version: 2010
Location: Vienna
Contact:

Re: Key Errors when Description Alias is turned on

Post by Martin Erlmoser »

there are 2(or more) problems
- the m_clear macro / excel restart thing - client issue
- server can't handle aliases in rules & excel anymore - server issue
the server bug should be fixed in 9.1 SP3 U2 HF2!

you can jump into cold water and update the tm1server or restart him everytime.
another workaround is a process which exports all elementattributes and recreates everything (but take care when somebody writes specialcaracters like a CR LF in the database .. you will "destroy" the asciioutput file when you don't filter these things out)
Alan Kirk
Site Admin
Posts: 6644
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: Key Errors when Description Alias is turned on

Post by Alan Kirk »

Olivier wrote:Hi ,

It has happen to me quite a few times,(V9.1 SP2 Update 3)

All excel templates using attributes (Any Alias of Any Dimension) will start to retrieve KEY_ERRORS.
It s not limitated to one user in particular, and therefore killing the excel session and restart the client doesn't resolve.
The only option i found so far was to restart the TM1 server.( How confortable :evil: ...)
If I recall correctly, in some versions it was found that adding a dummy element to the dimension, recompiling it, then deleting the dummy element will resolve this problem as well. Don't quote me on that, but it's worth a try the next time you encounter it.
"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.
User avatar
Olivier
Community Contributor
Posts: 159
Joined: Thu Jun 26, 2008 5:46 am
OLAP Product: TM1
Version: Tm1 10.2.2fp4 -> 2.09
Excel Version: Excel 2013 - 2019
Location: Sydney

Re: Key Errors when Description Alias is turned on

Post by Olivier »

Hi All,

I just had an occasion to check this out.

You don't need to add a dummy element in the dimension you want to recompile.
Uploading the dimension seems to do the trick by itself.

It fix the dimension aliases, and dbrw formula behave as expected in front of Aliases of this re uploaded dim.

The problem becomes,
It is impacting "some dimensions" and i don't see any easy way to test all dims, all attributes, to see wich need to be reprocess.

I guess upgrading is the safest to get rid of this bug ,)
HTH
Olivier
Post Reply