Load Dimension from attribute of another dimension

Post Reply
tstagliano
Posts: 18
Joined: Fri May 15, 2015 2:04 pm
OLAP Product: Cognos TM1
Version: 10.1
Excel Version: 2007

Load Dimension from attribute of another dimension

Post by tstagliano »

We are looking as part of our data load process to update a dimension which is being tracked as an attribute of another dimension. I will explain below

we have a client dimension where we have an attribute of industry for which that client belongs too.
we have an industry dimension which contains the values being stored in the attribute from the client dimension above.
from a data load perspective, we are only brining in the client code but we need to somehow set the TI process to update the industry dimension from the industry attribute of the client dimension.

We are running the process via Turbo Integrator version 10.2.2
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: Load Dimension from attribute of another dimension

Post by tomok »

Pretty basic stuff. If you are using the TI wizard just create a new variable, designate it as "Element" and assign it this formula: VNew = ATTRS('Client', ClientValueFromFile, 'Industry'). Then use this variable in the rest of the wizard where you do the dimension updating.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
tstagliano
Posts: 18
Joined: Fri May 15, 2015 2:04 pm
OLAP Product: Cognos TM1
Version: 10.1
Excel Version: 2007

Re: Load Dimension from attribute of another dimension

Post by tstagliano »

that was the route I was going. just to clarify, what do you mean by ClientValueFromFile within the formula?
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: Load Dimension from attribute of another dimension

Post by tomok »

tstagliano wrote:that was the route I was going. just to clarify, what do you mean by ClientValueFromFile within the formula?
I don't know. You tell me. Whatever this means:
from a data load perspective, we are only brining in the client code
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
tstagliano
Posts: 18
Joined: Fri May 15, 2015 2:04 pm
OLAP Product: Cognos TM1
Version: 10.1
Excel Version: 2007

Re: Load Dimension from attribute of another dimension

Post by tstagliano »

our data load is an ODBC connection to our SQL database where we are pulling data from a view. We have a number of fields in the view, one which is Client so I would guess that the Clientfield from the view would be the one I would use.
Wim Gielis
MVP
Posts: 3240
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: Load Dimension from attribute of another dimension

Post by Wim Gielis »

Yes correct.
Best regards,

Wim Gielis

IBM Champion 2024-2025
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