moving data from any cube to any cube by TI process

Post Reply
habibullah.sayyed
Posts: 37
Joined: Mon Jul 29, 2019 12:01 pm
OLAP Product: TM1
Version: v10.x
Excel Version: excel 2016

moving data from any cube to any cube by TI process

Post by habibullah.sayyed »

Hello everyone,
I am new to tm1 and i want to write advance TI (a generic process), 'the data should move from a any Cube to any Cube by TI process', for more understanding read following conditions:
1) No dimension name are allowed to mention in script and when we mention source and target cube while processing, it should get mapped when we run the process.
If question is not understood please ask.
And I want to solve it today itself. :D
Thanks in advance.
Emixam
Regular Participant
Posts: 156
Joined: Tue May 21, 2019 3:33 pm
OLAP Product: TM1
Version: PA 2.0.x
Excel Version: 2016
Location: The Internet

Re: moving data from any cube to any cube by TI process

Post by Emixam »

habibullah.sayyed wrote: Mon Jul 29, 2019 12:44 pm Hello everyone,
I am new to tm1 and i want to write advance TI (a generic process)
You must learn to walk before you can run. TM1 is a powerful tool but you must master basic skills before you are able to learn more complex things.
You should take a look at this white paper.

https://static1.squarespace.com/static/ ... grator.pdf
habibullah.sayyed wrote: Mon Jul 29, 2019 12:44 pm 1) No dimension name are allowed to mention in script and when we mention source and target cube while processing, it should get mapped when we run the process.
Good luck with that. However, I suggest you to take a look at the TABDIM function.

https://www.ibm.com/support/knowledgece ... abdim.html

Code: Select all

sDim1 = TABDIM(sCube,1);
sDim2 = TABDIM(sCube,2);
... 
Good luck.
lotsaram
MVP
Posts: 3704
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: moving data from any cube to any cube by TI process

Post by lotsaram »

You do know that such a process already exists?

Why not implement the library as a standard and spare yourself the work?
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
Emixam
Regular Participant
Posts: 156
Joined: Tue May 21, 2019 3:33 pm
OLAP Product: TM1
Version: PA 2.0.x
Excel Version: 2016
Location: The Internet

Re: moving data from any cube to any cube by TI process

Post by Emixam »

I didn't know !

Kudos to the guy who built that process !

Thanks Lotsaram !
habibullah.sayyed
Posts: 37
Joined: Mon Jul 29, 2019 12:01 pm
OLAP Product: TM1
Version: v10.x
Excel Version: excel 2016

Re: moving data from any cube to any cube by TI process

Post by habibullah.sayyed »

Emixam wrote: Mon Jul 29, 2019 1:02 pm
habibullah.sayyed wrote: Mon Jul 29, 2019 12:44 pm Hello everyone,
I am new to tm1 and i want to write advance TI (a generic process)
You must learn to walk before you can run. TM1 is a powerful tool but you must master basic skills before you are able to learn more complex things.
You should take a look at this white paper.

https://static1.squarespace.com/static/ ... grator.pdf
habibullah.sayyed wrote: Mon Jul 29, 2019 12:44 pm 1) No dimension name are allowed to mention in script and when we mention source and target cube while processing, it should get mapped when we run the process.
Good luck with that. However, I suggest you to take a look at the TABDIM function.

https://www.ibm.com/support/knowledgece ... abdim.html

Code: Select all

sDim1 = TABDIM(sCube,1);
sDim2 = TABDIM(sCube,2);
... 
Good luck.


Thanks a lot for your time and reply. :)
habibullah.sayyed
Posts: 37
Joined: Mon Jul 29, 2019 12:01 pm
OLAP Product: TM1
Version: v10.x
Excel Version: excel 2016

Re: moving data from any cube to any cube by TI process

Post by habibullah.sayyed »

lotsaram wrote: Mon Jul 29, 2019 4:08 pm You do know that such a process already exists?

Why not implement the library as a standard and spare yourself the work?
Thank you so much, how can i get access to that library?
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: moving data from any cube to any cube by TI process

Post by Wim Gielis »

Did you check the link and the library at github ?
Go to the main page of the library and there you can download the processes as a zip file.
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
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: moving data from any cube to any cube by TI process

Post by Wim Gielis »

habibullah.sayyed wrote: Mon Jul 29, 2019 12:44 pmI am new to tm1 and i want to write advance TI (a generic process),
Do yourself a favor and refrain from doing this exercise. There is plenty of stuff you can do in TI that is less advanced and still a challenge.

For example, write a TI process that can lookup an element name in any dimension of a TM1 model, be it as an element or as an alias. Bonus: wildcards ? and * are allowed in the element name (pElement).
The output is a CSV file with, record by record, the hits. Each time: dimension name, element index, element name, all aliases.
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
habibullah.sayyed
Posts: 37
Joined: Mon Jul 29, 2019 12:01 pm
OLAP Product: TM1
Version: v10.x
Excel Version: excel 2016

Re: moving data from any cube to any cube by TI process

Post by habibullah.sayyed »

Wim Gielis wrote: Tue Jul 30, 2019 7:19 am
habibullah.sayyed wrote: Mon Jul 29, 2019 12:44 pmI am new to tm1 and i want to write advance TI (a generic process),
Do yourself a favor and refrain from doing this exercise. There is plenty of stuff you can do in TI that is less advanced and still a challenge.

For example, write a TI process that can lookup an element name in any dimension of a TM1 model, be it as an element or as an alias. Bonus: wildcards ? and * are allowed in the element name (pElement).
The output is a CSV file with, record by record, the hits. Each time: dimension name, element index, element name, all aliases.

Thank you so much for your time and your reply, cant refrain it because my manager told me to do this. :D :D :D
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: moving data from any cube to any cube by TI process

Post by Wim Gielis »

habibullah.sayyed wrote: Tue Jul 30, 2019 10:31 amThank you so much for your time and your reply, cant refrain it because my manager told me to do this. :D :D :D
Then your manager does not know what he or she is talking about, if he or she asks this kind of task to someone who is new in TM1.
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