hi,
whenever i try to upload a .csv file, although the process gets completed but the data is not uploaded correctly. the TI takes the word after comma " , " to the next column, so in that case, my column data are not correct. what should I do ?
csv not uploading properly through a TI process
-
- 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: csv not uploading properly through a TI process
Have a look at the settings in the data source tab. Delimiters for fields, the comma separator, thousands separator: all very important when loading text data.talsam wrote:. what should I do ?
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
-
- 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: csv not uploading properly through a TI process
The bottom line is you're going to need to alter the way you are creating the source file to add some other delimiter besides commas. In my experience, making it tab delimited is your best option as you almost never encounter tabs in text data and will never find it in numeric data. If you can't do that then at least have the text data encapsulated inside quotes (") and make sure you don't have any commas inside the numbers.
-
- Posts: 11
- Joined: Tue Jun 14, 2016 7:08 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2013
Re: csv not uploading properly through a TI process
Either change your delimiter or as suggested encapsulate your columns with single quote and in properties change the Quote char = ' and preview your data it should worktalsam wrote: what should I do ?
-
- Posts: 11
- Joined: Thu Mar 31, 2016 5:42 am
- OLAP Product: TM1
- Version: 10.0
- Excel Version: 2013
Re: csv not uploading properly through a TI process
did that already...Nidhi wrote:Either change your delimiter or as suggested encapsulate your columns with single quote and in properties change the Quote char = ' and preview your data it should worktalsam wrote: what should I do ?
-
- Posts: 11
- Joined: Thu Mar 31, 2016 5:42 am
- OLAP Product: TM1
- Version: 10.0
- Excel Version: 2013
Re: csv not uploading properly through a TI process
tomok wrote:making it tab delimited is your best option as you almost never encounter tabs in text data and will never find it in numeric data. If you can't do that then at least have the text data encapsulated inside quotes (") and make sure you don't have any commas inside the numbers.
even with a Tab its not wrking..
-
- 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: csv not uploading properly through a TI process
Please provide screenshots and TI code, to see where the error is.
Did you use AsciiOutput to follow the process closely ?
Did you use AsciiOutput to follow the process closely ?
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
-
- Regular Participant
- Posts: 193
- Joined: Wed Apr 02, 2014 6:43 pm
- OLAP Product: TM1
- Version: 10.2
- Excel Version: 2010
Re: csv not uploading properly through a TI process
as Wim suggest: asciioutput helps.
***the TI takes the word after comma " , " to the next column, so in that case, my column data are not correct. what should I do ? - is it string data containing ","?
If string than Tab delimiter and if number than comma delimiter should resolve the issue.
Do following test:
1) save your one excel sheet from the workbook in a text file.
2) Open in the excel and now excel would pop up text import wizard where you can delimit the data. Here try different options to delimit the file and whatever fits in
must be included in the prolog section of the TI process or utilized in TI DataSource section:
DatasourceASCIIDelimiter='Character'
3) If you share the excel file and the code, then we may help you better.
Thanks.
***the TI takes the word after comma " , " to the next column, so in that case, my column data are not correct. what should I do ? - is it string data containing ","?
If string than Tab delimiter and if number than comma delimiter should resolve the issue.
Do following test:
1) save your one excel sheet from the workbook in a text file.
2) Open in the excel and now excel would pop up text import wizard where you can delimit the data. Here try different options to delimit the file and whatever fits in
must be included in the prolog section of the TI process or utilized in TI DataSource section:
DatasourceASCIIDelimiter='Character'
3) If you share the excel file and the code, then we may help you better.
Thanks.