Element not found in dimension error in TI process

Post Reply
hunterforcognos
Posts: 15
Joined: Fri Mar 08, 2013 9:06 pm
OLAP Product: TM1, Transformer
Version: 10.1.1
Excel Version: 2013

Element not found in dimension error in TI process

Post by hunterforcognos »

Hi Experts,

I am executing a TI process to load accounts dimension. However, I get the following error when I try to execute the TI process:
Capture.PNG
Capture.PNG (75.57 KiB) Viewed 5032 times
Can someone please shed some light?

Thanks in advance.
tomok
MVP
Posts: 2836
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: Element not found in dimension error in TI process

Post by tomok »

Did you actually read any of the messages in the log??????? I think it's pretty obvious, you have a bunch of records in your data file, which you are trying to load to a cube via some code on Line 6 of your Data tab, and the accounts don't exist in your "Account" dimension. Pretty basic stuff.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
declanr
MVP
Posts: 1828
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: Element not found in dimension error in TI process

Post by declanr »

You haven't populated your "account" dimension with those account elements before it gets to the data tab and tries to process values against those elements.

Depending on your data source and a number of other factors it would *probably* (but I can't be certain of that without knowing more about what you are doing) be sensible for you to have a section in the metadata tab of this process that adds those accounts in.


Your options simply though are:

A/ Add the elements first in this process
B/ Add the elements first in ANOTHER process (or manually etc it doesn't really matter how you do it)
C/ At the top of the data tab perform a good ol'

Code: Select all

If ( Dimix ( 'Account', vAccount ) = 0 );
     ItemSkip;
EndIf;
D through Z/ A load of other options
Declan Rodger
Post Reply