<?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 Serial File Processing in Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Serial-File-Processing-in-Script/m-p/146963#M25439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello. This is probably an easy one, but I'm a bit stuck!&lt;/P&gt;&lt;P&gt;I've got a file that I'm loading in from a csv and I've also created an inline file that joins to it. I want to create a new field in the file that combines information from a field in the csv and a field the inline file.&lt;/P&gt;&lt;P&gt;I tried creating the new field in the code that loads the csv, but, of course, the field from the inline file does not exist at that point.&lt;/P&gt;&lt;P&gt;I need to be able to do additional processing on the joined file to create the new field. Does anyone know how to do this?&lt;/P&gt;&lt;P&gt;Hope that makes sense!&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2009 22:35:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-06-16T22:35:03Z</dc:date>
    <item>
      <title>Serial File Processing in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Serial-File-Processing-in-Script/m-p/146963#M25439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello. This is probably an easy one, but I'm a bit stuck!&lt;/P&gt;&lt;P&gt;I've got a file that I'm loading in from a csv and I've also created an inline file that joins to it. I want to create a new field in the file that combines information from a field in the csv and a field the inline file.&lt;/P&gt;&lt;P&gt;I tried creating the new field in the code that loads the csv, but, of course, the field from the inline file does not exist at that point.&lt;/P&gt;&lt;P&gt;I need to be able to do additional processing on the joined file to create the new field. Does anyone know how to do this?&lt;/P&gt;&lt;P&gt;Hope that makes sense!&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2009 22:35:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Serial-File-Processing-in-Script/m-p/146963#M25439</guid>
      <dc:creator />
      <dc:date>2009-06-16T22:35:03Z</dc:date>
    </item>
    <item>
      <title>Serial File Processing in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Serial-File-Processing-in-Script/m-p/146964#M25440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TEMP TABLE&lt;BR /&gt;1. Load the data from the CSV&lt;BR /&gt;2. Inline load and join (left) the data to the CSV&lt;/P&gt;&lt;P&gt;NEW TABLE&lt;BR /&gt;3. Complete a nonconcatenate resident load of the data and derive the new field using the necessary fields&lt;BR /&gt;4. Drop the temp table created in steps 1 and 2&lt;BR /&gt;5 you should now have a table that has all of the info you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;TEMP_TABLE:&lt;BR /&gt;LOAD&lt;BR /&gt; Field_1,&lt;BR /&gt; Field_2,&lt;BR /&gt; Field_3&lt;BR /&gt;FROM [test1.csv] (ansi, txt, delimiter is ',', embedded labels, msq);&lt;BR /&gt;&lt;BR /&gt;LEFT JOIN LOAD * INLINE [&lt;BR /&gt; Field_3, Field_4&lt;BR /&gt; aa, test 1&lt;BR /&gt; bb, test 2&lt;BR /&gt; cc, test 3&lt;BR /&gt; dd, test 4&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;FINAL_TABLE:&lt;BR /&gt;NOCONCATENATE LOAD&lt;BR /&gt; Field_1,&lt;BR /&gt; Field_2,&lt;BR /&gt; Field_3,&lt;BR /&gt; Field_4,&lt;BR /&gt; Field_1 &amp;amp; '_' &amp;amp; Field_2 &amp;amp; '_' &amp;amp; Field_4 as CombinedField&lt;BR /&gt;RESIDENT TEMP_TABLE;&lt;BR /&gt;&lt;BR /&gt;DROP TABLE TEMP_TABLE;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2009 22:52:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Serial-File-Processing-in-Script/m-p/146964#M25440</guid>
      <dc:creator />
      <dc:date>2009-06-16T22:52:38Z</dc:date>
    </item>
    <item>
      <title>Serial File Processing in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Serial-File-Processing-in-Script/m-p/146965#M25441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or you can use a right join. Then there is no need to create a second table or drop anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;RIGHT JOIN LOAD DISTINCT&lt;BR /&gt; Field_1,&lt;BR /&gt; Field_2,&lt;BR /&gt; Field_3,&lt;BR /&gt; Field_4,&lt;BR /&gt; Field_1 &amp;amp; '_' &amp;amp; Field_2 &amp;amp; '_' &amp;amp; Field_4 as CombinedField&lt;BR /&gt;RESIDENT TEMP_TABLE;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;--Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2009 23:50:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Serial-File-Processing-in-Script/m-p/146965#M25441</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-06-16T23:50:22Z</dc:date>
    </item>
  </channel>
</rss>

