Alpha numeric dim elements not getting loaded through TI
-
- Posts: 101
- Joined: Tue May 12, 2009 8:20 am
- OLAP Product: TM1
- Version: 9.5.2
- Excel Version: Office 2010
Alpha numeric dim elements not getting loaded through TI
Hi All ,
I have a TI process which loads elements to a dimension hierarchy from a csv file . Every thing is working fine except some alpha-numeric elements given below .
80.1.6 All Other Service Fees
80.1.5 AESS
80.1.4 Facilities & Security
80.1.3 HR
80.1.2 FRC/Finance Svce Fee
80.1.1 Procurement
80.2.4 SWC
80.2.3 Variable SQP
80.2.2 Fixed SQP
These elements are not getting loaded and I am getting "process successfully completed" message.
Anybody knows why these elements are ignored by TI ?
Anoop
I have a TI process which loads elements to a dimension hierarchy from a csv file . Every thing is working fine except some alpha-numeric elements given below .
80.1.6 All Other Service Fees
80.1.5 AESS
80.1.4 Facilities & Security
80.1.3 HR
80.1.2 FRC/Finance Svce Fee
80.1.1 Procurement
80.2.4 SWC
80.2.3 Variable SQP
80.2.2 Fixed SQP
These elements are not getting loaded and I am getting "process successfully completed" message.
Anybody knows why these elements are ignored by TI ?
Anoop
- mattgoff
- MVP
- Posts: 516
- Joined: Fri May 16, 2008 1:37 pm
- OLAP Product: TM1
- Version: 10.2.2.6
- Excel Version: O365
- Location: Florida, USA
Re: Alpha numeric dim elements not getting loaded through TI
Please read and follow the Request for Assistance Guidelines. It helps us answer your question and saves everyone a lot of time.
-
- Posts: 101
- Joined: Tue May 12, 2009 8:20 am
- OLAP Product: TM1
- Version: 9.5.2
- Excel Version: Office 2010
Re: Alpha numeric dim elements not getting loaded through TI
Hi Matt ,
This is a dimension hierarchy which i tried to load through a TI and the elements in the hirearchy looks as below
The last column is not getting loaded into the dimension structure because of the numbers I believe.
Regards
Anoop
(Edited to include the dimension hierarchy structure as a table)
This is a dimension hierarchy which i tried to load through a TI and the elements in the hirearchy looks as below
The last column is not getting loaded into the dimension structure because of the numbers I believe.
Regards
Anoop
(Edited to include the dimension hierarchy structure as a table)
Last edited by anoops81 on Thu May 03, 2012 9:22 am, edited 2 times in total.
-
- Regular Participant
- Posts: 164
- Joined: Tue May 04, 2010 10:49 am
- OLAP Product: Cognos TM1
- Version: 9.4.1 - 10.1
- Excel Version: 2003 and 2007
Re: Alpha numeric dim elements not getting loaded through TI
I don't think it's to do with the numbers. As much as I avoid "special" characters in element names, something like "80.1.6 All Other" should be a perfectly acceptable.anoops81 wrote:Hi Matt ,
This is a dimension hierarchy which i tried to load through a TI and the elements in the hirearchy looks as below
Functional Packs WS WS Other WS Other Service Fees 80.1.6 All Other Service Fees
Functional Packs WS WS Other WS Other Service Fees 80.1.5 AESS
Functional Packs WS WS Other WS Other Service Fees 80.1.4 Facilities & Security
Functional Packs WS WS Other WS Other Service Fees 80.1.3 HR
Functional Packs WS WS Other WS Other Service Fees 80.1.2 FRC/Finance Svce Fee
Functional Packs WS WS Other WS Other Service Fees 80.1.1 Procurement
Functional Packs WS WS Other WS Tech Service Fees 80.2.4 SWC
Functional Packs WS WS Other WS Tech Service Fees 80.2.3 Variable SQP
Functional Packs WS WS Other WS Tech Service Fees 80.2.2 Fixed SQP
The last column is not getting loaded into the dimension structure because of the numbers I believe.
Regards
Anoop
Are any elements from that last column getting added at all? How is your file delimited? You could perhaps post the code from the metadata tab of your process too.
Cheers,
Alex
-
- 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: Alpha numeric dim elements not getting loaded through TI
A screenshot of the preview pane and the Variables tab would also be most helpful.
-
- Posts: 101
- Joined: Tue May 12, 2009 8:20 am
- OLAP Product: TM1
- Version: 9.5.2
- Excel Version: Office 2010
Re: Alpha numeric dim elements not getting loaded through TI
Hi Alex,
No element with number & string together is getting loaded.
Please find the metadata code
The level check is repeated for all the levels.
Regards
Anoop
No element with number & string together is getting loaded.
Please find the metadata code
Code: Select all
if(l7@<>'');
if(dimix('Test_Func',l7)>0);
parent=elpar('Test_Func',l7,1);
if(parent@<>l8);
DimensionElementComponentDelete('Test_Func', parent,l7);
DimensionElementComponentAdd('Test_Func', l8,l7, 1);
endif;
else;
DimensionElementComponentAdd('Test_Func', l8,l7, 1);
endif;
endif;
The level check is repeated for all the levels.
Regards
Anoop
-
- 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: Alpha numeric dim elements not getting loaded through TI
Without knowing how the variables l8 and l7 map to the columns of the data it is difficult to work out what it going wrong. You have shown only five columns in your sample data and yet the variable names seem to indicate at least 8.
From the naming it also appears that level 8 is the parent of level 7. Does that mean then that level 0 is the leaf? If so where is the code for that?
Why not just attach the .PRO file and the source data file then we can see exactly what is happening, rather than drip-feeding us only what you think we need to know?
From the naming it also appears that level 8 is the parent of level 7. Does that mean then that level 0 is the leaf? If so where is the code for that?
Why not just attach the .PRO file and the source data file then we can see exactly what is happening, rather than drip-feeding us only what you think we need to know?
-
- Regular Participant
- Posts: 164
- Joined: Tue May 04, 2010 10:49 am
- OLAP Product: Cognos TM1
- Version: 9.4.1 - 10.1
- Excel Version: 2003 and 2007
Re: Alpha numeric dim elements not getting loaded through TI
The code above will remove l7 from it's first parent (if any) and add l7 as a child of l8.anoops81 wrote:The level check is repeated for all the levels.Code: Select all
if(l7@<>''); if(dimix('Test_Func',l7)>0); parent=elpar('Test_Func',l7,1); if(parent@<>l8); DimensionElementComponentDelete('Test_Func', parent,l7); DimensionElementComponentAdd('Test_Func', l8,l7, 1); endif; else; DimensionElementComponentAdd('Test_Func', l8,l7, 1); endif; endif;
Regards
Anoop
As Duncan suggested, a screenshot of your variables and the preview pane would help. Which column is l7 and which is l8? Or are these variables set/manipulated somewhere else on the metadata tab?
edit: Duncan beat me to it.
-
- Posts: 101
- Joined: Tue May 12, 2009 8:20 am
- OLAP Product: TM1
- Version: 9.5.2
- Excel Version: Office 2010
Re: Alpha numeric dim elements not getting loaded through TI
Hi All ,
I was able to load the data with out the parent check . Checking on the file to see what is happening .
Keep you posted soon .
Thanks & Regards
Anoop
I was able to load the data with out the parent check . Checking on the file to see what is happening .
Keep you posted soon .
Thanks & Regards
Anoop
-
- Posts: 101
- Joined: Tue May 12, 2009 8:20 am
- OLAP Product: TM1
- Version: 9.5.2
- Excel Version: Office 2010
Re: Alpha numeric dim elements not getting loaded through TI
Hi All ,
The elements are getting added only once as per the TI . Hence I got a feeling that some elements are ignored by TI .
Changed the TI so that it will check for parent and delete the element from the parent consolidation .
Sorry that I could not provide all the needed information for you guys.
Thanks a lot for replying very fast & I really appreciate it .
Anoop
The elements are getting added only once as per the TI . Hence I got a feeling that some elements are ignored by TI .
Changed the TI so that it will check for parent and delete the element from the parent consolidation .
Sorry that I could not provide all the needed information for you guys.
Thanks a lot for replying very fast & I really appreciate it .
Anoop