copy dimension from one to another server
-
- Posts: 7
- Joined: Thu Apr 21, 2011 12:17 pm
- OLAP Product: TM1
- Version: 9.5
- Excel Version: 2003
copy dimension from one to another server
Hi, I've created a TM1 TI standard process to copy a dimension via odbo to another server. As you can the in the attachements (green original dimension, red copied dimension) the dimension copy is done, but the leafs have an additional umderscore and a counted number. This is not what I need, does anybody knows why this is happening?
-
- 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: copy dimension from one to another server
Please read the request for assistance guidelines then come back with a reasonable request.
-
- 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: copy dimension from one to another server
What you are seeing is the result of your source dimension leaf items each having multiple parents. The ODBO import process treats all leaf items with different parents as unique and creates unique items in the target dimension to represent them.
I have not yet found a way to prevent it from doing this. If you need to transfer a dimension with multiple parents per item I would choose a different method, such as by text file.
I have not yet found a way to prevent it from doing this. If you need to transfer a dimension with multiple parents per item I would choose a different method, such as by text file.
- qml
- MVP
- Posts: 1098
- Joined: Mon Feb 01, 2010 1:01 pm
- OLAP Product: TM1 / Planning Analytics
- Version: 2.0.9 and all previous
- Excel Version: 2007 - 2016
- Location: London, UK, Europe
Re: copy dimension from one to another server
Duncan is right on the money, that's how it works with an ODBO data source and there seems to be no way of changing it.
The suggestion to use a text file export instead is the obvious one. Another option which you can try if you're slightly more adventurous is to add a bit of post-processing to your TI logic. This would basically be a separate TI process that looks for all the elements with _number suffixes and replaces them in the hierarchy with the correct single N element. This would have to be done in a few logical steps (find the duplicates, create the single replacement element, add it under all the correct parents, delete the duplicated elements), but it seems quite doable in principle, provided that your naming conventions allow for easy and reliable distingushing of the elements that were duplicated.
The suggestion to use a text file export instead is the obvious one. Another option which you can try if you're slightly more adventurous is to add a bit of post-processing to your TI logic. This would basically be a separate TI process that looks for all the elements with _number suffixes and replaces them in the hierarchy with the correct single N element. This would have to be done in a few logical steps (find the duplicates, create the single replacement element, add it under all the correct parents, delete the duplicated elements), but it seems quite doable in principle, provided that your naming conventions allow for easy and reliable distingushing of the elements that were duplicated.
Kamil Arendt
- Harvey
- Community Contributor
- Posts: 236
- Joined: Mon Aug 04, 2008 4:43 am
- OLAP Product: PA, TM1, CX, Palo
- Version: TM1 8.3 onwards
- Excel Version: 2003 onwards
- Contact:
Re: copy dimension from one to another server
If you do not need to achieve this via TI, there are various methods to copy a dimension.
My favorite would of course be the Flow Model Packager, but you could also try another free tool, such as Ricky's TM1 Simple Replicate.
My favorite would of course be the Flow Model Packager, but you could also try another free tool, such as Ricky's TM1 Simple Replicate.
Take your TM1 experience to the next level - TM1Innovators.net