Home
Analytics
CSV Data source with semi colon delimiter
magic_bern
Hi All,
I receive CSV file that have been generated from a software and they have a semi-colon delimiter, as a result every time i try to use it as a data source everything comes in the the first column.
Is there some setup i can do when creating the datasource to ensure that the semi-colon delimiter is taken into consideration.
Thanks in advance.
Berny
Find more posts tagged with
Comments
johnw
In your Data Source, set the flatfile style to SSV.
magic_bern
Thank John for the reply,
I have tried doing setting the style to SSV but only the first column gets return the remaining ones are just not coming back on the data set.
also i am working on a very restricted machine am i am unable to change the file extention to ssv. having to choose *.* when looking for the file when creating the dataset
Thanks
mwilliams
magic_bern,
Did you ever find a solution to this?
Abhijit Mandal
<p>Hello ,</p>
<p> </p>
<p>I am trying to have CSV file as datasource.</p>
<p>case 1:</p>
<p>I used relative path and it works fine in Eclipse Birt designer.</p>
<p>case 2:</p>
<p>I used absolute path and it works fine in Eclipse Birt designer.</p>
<p>but when i deploy the .rpt files to the server and i keep my CSV file in server same folder where the report are and with the proper path .</p>
<p>and try to run from browser it does not fetch any value ,and same works with Birt designer.</p>
<p>can you please help me to identify my problem.</p>
pricher
<p>Hi,</p>
<p> </p>
<p>You're not saying if you are using BIRT Open Source or BIRT Commercial (iHub). In BIRT Open Source, the BIRT_RESOURCE_PATH context parameter (in web.xml) will determine where resources (csv files, libraries, etc) are located. By default, it is the same as the BIRT Home, which is the root folder of where BIRT is installed in your application server.</p>
<p> </p>
<p>Hope this helps,</p>
<p> </p>
<p>P.</p>
Abhijit Mandal
<p>Thanks for your reply and wish you Happy new Year.</p>
<p>I am using BIRT Open Source,</p>
<p> and In Server we have BIRT runtime.So no web.xml file .</p>
<p>i putted my CSV file in the server the same location where i am putting my BIRT rpt file,I copied the UNC path from Copy file name of CSV. and i putted UNC path the BIRT_RESOURCE_PATH context parameter (in web.xml) in the designer from which i am designing the report .and saved the report and then putted the .rpt file</p>
<p>in server.but its still not able to fetch the data from CSV .</p>
<p>while designing the Report in Flat file datasource source connection i am using various way as:</p>
<p>Case 1:UNC path of CSV file</p>
<p>Case 2:Absolute path of CSV</p>
<p>Case 3:Relative path of CSV</p>
<p>i also tried in propery binding to change the path with</p>
<p>Case 1:UNC path of CSV file</p>
<p>Case 2:Absolute path of CSV</p>
<p>Case 3:Relative path of CSV</p>
<p>but non of the senerio works after deploying in server can you please help me out.</p>