Hi All,
I wish to update a Cube using data from a .CSV file via a T.I. process. The problem is is that I have two different sets of hierarchies.
The dimension in the cube has a set of hierarchy ( Rail (Group) -> Rail, x train, y train )
Rail, x train and y train are child elements of Rail (Group).
The data in the .CSV has a another set of hierarchy ( Rail -> x train, y train )
x train and y train are child elements of Rail.
When you run the T.I., the T.I. loads the data associated to x train and y train but it puts x train and y train as child elements of Rail.
Question: Is there a piece of T.I. script I could add to the T.I. process that would stop x train and y train being made child elements of Rail in the cube?
Some sort of script that would stop x train and y train being made into child elements but still loads the data for those elements.
One solution is to make the .CSV file have the same format as the cube (i.e. in the .CSV file the parent element would be called Rail (Group) and not Rail like it is in the cube). Is there another way though?
Regards,
Magnus
T.I. script question
-
- MVP
- Posts: 3223
- 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: T.I. script question
Hello there
If I understand correctly what you mean, I think that you should just put no code in the Advanced > Metadata tab of the TI process.
If you are scripting the process, you can simply leave that tab empty.
If you use the wizard to "record" the code, use "As is" in the Maps > Dimensions tab. Then, dimension elements elements are not created. In the Maps > Consolidations tab, do not specify parent-child relationships.
Or do you mean something different?
Wim
If I understand correctly what you mean, I think that you should just put no code in the Advanced > Metadata tab of the TI process.
If you are scripting the process, you can simply leave that tab empty.
If you use the wizard to "record" the code, use "As is" in the Maps > Dimensions tab. Then, dimension elements elements are not created. In the Maps > Consolidations tab, do not specify parent-child relationships.
Or do you mean something different?
Wim
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
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
-
- Posts: 24
- Joined: Wed Sep 14, 2011 11:59 pm
- OLAP Product: TM1 Cognos
- Version: 9.5.1
- Excel Version: 2007
Re: T.I. script question
Hi,
Thanks for your advice and yes I think you understand my problem. Just going to try out what you said.
Regards,
Magnus
Thanks for your advice and yes I think you understand my problem. Just going to try out what you said.
Regards,
Magnus