<?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: Load CSV with odd delimiting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-CSV-with-odd-delimiting/m-p/830704#M292364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as per you data you can load the file with comma &lt;STRONG&gt;,&lt;/STRONG&gt; as the delimiter rite ? what you mean by odd delimiter &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jul 2015 09:33:48 GMT</pubDate>
    <dc:creator>avinashelite</dc:creator>
    <dc:date>2015-07-08T09:33:48Z</dc:date>
    <item>
      <title>Load CSV with odd delimiting</title>
      <link>https://community.qlik.com/t5/QlikView/Load-CSV-with-odd-delimiting/m-p/830703#M292363</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;Im trying to load data from a CSV file with odd delimiting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/92235_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls see attached.&lt;/P&gt;&lt;P&gt;Any clues how to come arounf this?&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;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 09:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-CSV-with-odd-delimiting/m-p/830703#M292363</guid>
      <dc:creator />
      <dc:date>2015-07-08T09:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Load CSV with odd delimiting</title>
      <link>https://community.qlik.com/t5/QlikView/Load-CSV-with-odd-delimiting/m-p/830704#M292364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as per you data you can load the file with comma &lt;STRONG&gt;,&lt;/STRONG&gt; as the delimiter rite ? what you mean by odd delimiter &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 09:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-CSV-with-odd-delimiting/m-p/830704#M292364</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-07-08T09:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Load CSV with odd delimiting</title>
      <link>https://community.qlik.com/t5/QlikView/Load-CSV-with-odd-delimiting/m-p/830705#M292365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Counterparty, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amount, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PurgeChar([CCY;;], '"[];') As CCY&lt;/P&gt;&lt;P&gt;FROM example.txt&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 09:38:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-CSV-with-odd-delimiting/m-p/830705#M292365</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-07-08T09:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Load CSV with odd delimiting</title>
      <link>https://community.qlik.com/t5/QlikView/Load-CSV-with-odd-delimiting/m-p/830706#M292366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olle,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load as comma separated and then use purge char to remove the remaining " and ; then rename CCY;; to CCY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Counterparty&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;PurgeChar&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CCY;;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,';"') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CCY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;STRONG&gt;&lt;D&gt;&lt;/D&gt;&lt;/STRONG&gt;&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;txt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;codepage&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 1252, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;delimiter&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ',', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;msq&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Andy&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 09:55:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-CSV-with-odd-delimiting/m-p/830706#M292366</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-07-08T09:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Load CSV with odd delimiting</title>
      <link>https://community.qlik.com/t5/QlikView/Load-CSV-with-odd-delimiting/m-p/830707#M292367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm. Now that I go back to the original file I can see the structure was not as simple as the example file I made made before. Therefore your solutions did not really work when I tried it on the real data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a "true" example of my real data.&lt;/P&gt;&lt;P&gt;Can you pls show me how to apply your solution on that one instead?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 11:18:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-CSV-with-odd-delimiting/m-p/830707#M292367</guid>
      <dc:creator />
      <dc:date>2015-07-08T11:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Load CSV with odd delimiting</title>
      <link>https://community.qlik.com/t5/QlikView/Load-CSV-with-odd-delimiting/m-p/830708#M292368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the , separated method above and use a preceding load to split the large text field using sting functions, mid/left/right hopefully if data is consistently present and same length in each row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be possible to drop the field and a unique id out into a temp csv and reload with ' ' delimiter and map or join back in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 11:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-CSV-with-odd-delimiting/m-p/830708#M292368</guid>
      <dc:creator>tcullinane</dc:creator>
      <dc:date>2015-07-08T11:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Load CSV with odd delimiting</title>
      <link>https://community.qlik.com/t5/QlikView/Load-CSV-with-odd-delimiting/m-p/830709#M292369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could apply a PurgeChar to each field loaded like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; PurgeChar([AS OF DATE], '";') As&amp;nbsp; [AS OF DATE],&lt;/P&gt;&lt;P&gt;&amp;nbsp; PurgeChar(BANK, '";') As BANK, &lt;/P&gt;&lt;P&gt;&amp;nbsp; //...&lt;/P&gt;&lt;P&gt;&amp;nbsp; PurgeChar([GROUP;;], '";') As GROUP&lt;/P&gt;&lt;P&gt;FROM example.txt&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', no quotes);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note 'no quotes' to avoid a problem with unbalanced quotes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 12:12:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-CSV-with-odd-delimiting/m-p/830709#M292369</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-07-08T12:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Load CSV with odd delimiting</title>
      <link>https://community.qlik.com/t5/QlikView/Load-CSV-with-odd-delimiting/m-p/830710#M292370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just realized some times the text field contains commas whithin the qoutes. Really annoying.&lt;/P&gt;&lt;P&gt;In other words I guess&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance in the below example DATE will be &lt;SPAN style="color: #0000ff;"&gt;hsjshskh 8267282&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;SPAN style="color: #0000ff;"&gt;Any ideas how to come around this? &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 13:21:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-CSV-with-odd-delimiting/m-p/830710#M292370</guid>
      <dc:creator />
      <dc:date>2015-07-08T13:21:31Z</dc:date>
    </item>
  </channel>
</rss>

