Load Parent Child Hierarchies from ODBC into TM1

kingaj12
Posts: 6
Joined: Wed Nov 20, 2013 3:26 pm
OLAP Product: TM1
Version: 10.2
Excel Version: 14.0

Re: Load Parent Child Hierarchies from ODBC into TM1

Post by kingaj12 »

I am a newbie to TM1. I would like to just write a process that avoids wizards altogether. Is there a way to do this?
David Usherwood
Site Admin
Posts: 1458
Joined: Wed May 28, 2008 9:09 am

Re: Load Parent Child Hierarchies from ODBC into TM1

Post by David Usherwood »

Er, yes....
Set all variables coming through to other and cut your own code.
kingaj12
Posts: 6
Joined: Wed Nov 20, 2013 3:26 pm
OLAP Product: TM1
Version: 10.2
Excel Version: 14.0

Re: Load Parent Child Hierarchies from ODBC into TM1

Post by kingaj12 »

David Usherwood wrote:Er, yes....
Set all variables coming through to other and cut your own code.
... but how do you do that without clicking a dropdown box on the wizard?
Duncan P
MVP
Posts: 600
Joined: Wed Aug 17, 2011 1:19 pm
OLAP Product: TM1
Version: 9.5.2 10.1 10.2
Excel Version: 2003 2007
Location: York, UK

Re: Load Parent Child Hierarchies from ODBC into TM1

Post by Duncan P »

If your process has a data-source then it will have variables, and you must set them to "Other" (manually) in order to use them. This will involve clicking drop-downs. However as some kind soul pointed out recently you can select them all and then a change to one will apply to them all, so only one drop-down interaction is required.

If your process doesn't have a data source just click on the Advanced tab and start typing in the Prolog and Epilog sections.
kingaj12
Posts: 6
Joined: Wed Nov 20, 2013 3:26 pm
OLAP Product: TM1
Version: 10.2
Excel Version: 14.0

Re: Load Parent Child Hierarchies from ODBC into TM1

Post by kingaj12 »

Thanks Duncan P. I think that settles the matter unless some other kind soul has an idea.
Alan Kirk
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: Load Parent Child Hierarchies from ODBC into TM1

Post by Alan Kirk »

kingaj12 wrote:Thanks Duncan P. I think that settles the matter unless some other kind soul has an idea.
I'm not sure what the issue is with selecting the drop downs to change them to Other. You're aware that you only do it once, right? You do it when you're developing the code, you save the process, and they remain set to to other for all time unless you go into edit mode and change the data source. (Which you wouldn't normally need to do anyway; you'd set the data source dynamically by setting a value for one of the TurboIntegrator Local Variables. (Refer to the Reference Guide for details.)) It's not something that you do every time you run the code.
"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.
Post Reply