<?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 file with delimiters? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Load-file-with-delimiters/m-p/1276667#M26477</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Regarding to your sample-data would be something like this possible:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map_Extra:&lt;/P&gt;&lt;P&gt;mapping load filebasename() as FilebaseName, concat([@1:n], ' ') as Value&lt;/P&gt;&lt;P&gt;From [test.txt] (fix, codepage is 1252, header is 1 lines);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;first 1 LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @1, @2, @3, @4, @5, @6, @7, @8, @9, @10, @11, @12, @13, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @14 &amp;amp; applymap('Map_Extra', filebasename(), '#NV') as @14&lt;/P&gt;&lt;P&gt;FROM [test.txt] (txt, codepage is 1252, no labels, delimiter is ',');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jan 2017 13:28:05 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2017-01-19T13:28:05Z</dc:date>
    <item>
      <title>Load file with delimiters?</title>
      <link>https://community.qlik.com/t5/App-Development/Load-file-with-delimiters/m-p/1276660#M26470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;I Need to load file with delimiter comma (',')&amp;nbsp; until&amp;nbsp; i get word "Context=" and then i need to get all after "Context=..." into last field?&lt;/P&gt;&lt;P&gt;How to do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 08:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-file-with-delimiters/m-p/1276660#M26470</guid>
      <dc:creator>Vasiliy_Beshentsev</dc:creator>
      <dc:date>2017-01-19T08:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Load file with delimiters?</title>
      <link>https://community.qlik.com/t5/App-Development/Load-file-with-delimiters/m-p/1276661#M26471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think some sample-records of this text-file would be useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 08:54:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-file-with-delimiters/m-p/1276661#M26471</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-01-19T08:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Load file with delimiters?</title>
      <link>https://community.qlik.com/t5/App-Development/Load-file-with-delimiters/m-p/1276662#M26472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here, please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 09:04:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-file-with-delimiters/m-p/1276662#M26472</guid>
      <dc:creator>Vasiliy_Beshentsev</dc:creator>
      <dc:date>2017-01-19T09:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Load file with delimiters?</title>
      <link>https://community.qlik.com/t5/App-Development/Load-file-with-delimiters/m-p/1276663#M26473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first record is quite different to the following records - this meant you might need several load-steps to the header and the records and to match them in any way. Here a suggestion how the following records could be loaded:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;records:&lt;/P&gt;&lt;P&gt;LOAD subfield([@1:n], ':', 1) as F1, subfield([@1:n], ':', 2) as F2, subfield([@1:n], ':', 3) as F3&lt;/P&gt;&lt;P&gt;FROM [test.txt] (fix, codepage is 1252, header is 1 lines);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a similar way (with subfield() and/or other string-functions) would it be possible to load also the first record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 09:19:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-file-with-delimiters/m-p/1276663#M26473</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-01-19T09:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Load file with delimiters?</title>
      <link>https://community.qlik.com/t5/App-Development/Load-file-with-delimiters/m-p/1276664#M26474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So now i need to update last field with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Context=&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;How to add data to this field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 11:02:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-file-with-delimiters/m-p/1276664#M26474</guid>
      <dc:creator>Vasiliy_Beshentsev</dc:creator>
      <dc:date>2017-01-19T11:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Load file with delimiters?</title>
      <link>https://community.qlik.com/t5/App-Development/Load-file-with-delimiters/m-p/1276665#M26475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on your sample records - how should be the output-table look like?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 11:10:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-file-with-delimiters/m-p/1276665#M26475</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-01-19T11:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Load file with delimiters?</title>
      <link>https://community.qlik.com/t5/App-Development/Load-file-with-delimiters/m-p/1276666#M26476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to get this, &lt;IMG alt="2017-01-19 14_11_30.png" class="jive-image image-1" src="/legacyfs/online/150048_2017-01-19 14_11_30.png" style="height: 226px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Last field must be "Context=words words words"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 11:16:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-file-with-delimiters/m-p/1276666#M26476</guid>
      <dc:creator>Vasiliy_Beshentsev</dc:creator>
      <dc:date>2017-01-19T11:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Load file with delimiters?</title>
      <link>https://community.qlik.com/t5/App-Development/Load-file-with-delimiters/m-p/1276667#M26477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Regarding to your sample-data would be something like this possible:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map_Extra:&lt;/P&gt;&lt;P&gt;mapping load filebasename() as FilebaseName, concat([@1:n], ' ') as Value&lt;/P&gt;&lt;P&gt;From [test.txt] (fix, codepage is 1252, header is 1 lines);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;first 1 LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @1, @2, @3, @4, @5, @6, @7, @8, @9, @10, @11, @12, @13, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @14 &amp;amp; applymap('Map_Extra', filebasename(), '#NV') as @14&lt;/P&gt;&lt;P&gt;FROM [test.txt] (txt, codepage is 1252, no labels, delimiter is ',');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 13:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-file-with-delimiters/m-p/1276667#M26477</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-01-19T13:28:05Z</dc:date>
    </item>
  </channel>
</rss>

