<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Delimiting CSV file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Delimiting-CSV-file/m-p/837980#M294634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Normally the quotes rules (like msq) will handle the commas embedded in quotes correctly and will not see them as field delimiters. You may have a problem with the double quotes in your data as the second quote in the double quote closes the quote, so QV no longer sees the comma embedded in a string and treats as a field delimiter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to adjust your data source so that it no longer double quotes the fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other suggestions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Preprocess the file to remove the double quotes. Some Powershell or external vbscript that executes on the file before QV loads it.&lt;/LI&gt;&lt;LI&gt;Load the entire record line into a single field, then manipulate the line and perform a LOAD...FROM_FIELD to load data into the correct field names.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jul 2015 09:23:50 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2015-07-09T09:23:50Z</dc:date>
    <item>
      <title>Delimiting CSV file</title>
      <link>https://community.qlik.com/t5/QlikView/Delimiting-CSV-file/m-p/837979#M294633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a CSV file with comma delimited headers.&lt;/P&gt;&lt;P&gt;However the data is delimited with commas AND quotation marks.&lt;/P&gt;&lt;P&gt;Within the quotation marks sometimes commas are used, which makes it complicated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance in the below example &lt;SPAN style="color: #0000ff;"&gt;hsjshskh 8267282 &lt;SPAN style="color: #808080;"&gt;will be identified as DATE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AMOUNT, TEXT, DATE;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;""999999"", ""XXXX uerururur 82726353, hsjshskh 8267282"", ""2015/01/01"";;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is from the attached example file.&amp;nbsp; All of the text should be in "DESCRIPTION".&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/92350_Capture.JPG" style="width: 620px; height: 112px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls find attached.&lt;/P&gt;&lt;P&gt;Any ideas how to come around this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 09:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delimiting-CSV-file/m-p/837979#M294633</guid>
      <dc:creator />
      <dc:date>2015-07-09T09:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Delimiting CSV file</title>
      <link>https://community.qlik.com/t5/QlikView/Delimiting-CSV-file/m-p/837980#M294634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Normally the quotes rules (like msq) will handle the commas embedded in quotes correctly and will not see them as field delimiters. You may have a problem with the double quotes in your data as the second quote in the double quote closes the quote, so QV no longer sees the comma embedded in a string and treats as a field delimiter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to adjust your data source so that it no longer double quotes the fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other suggestions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Preprocess the file to remove the double quotes. Some Powershell or external vbscript that executes on the file before QV loads it.&lt;/LI&gt;&lt;LI&gt;Load the entire record line into a single field, then manipulate the line and perform a LOAD...FROM_FIELD to load data into the correct field names.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 09:23:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delimiting-CSV-file/m-p/837980#M294634</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-07-09T09:23:50Z</dc:date>
    </item>
  </channel>
</rss>

