<?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: More advanced control over data load required – where to start? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/More-advanced-control-over-data-load-required-where-to-start/m-p/1260271#M849497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use a filelist-loop and force the concatenation of your files, like in this example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Set&lt;/SPAN&gt; &lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;vConcatenate&lt;/EM&gt;&lt;/SPAN&gt; = ;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;For each&lt;/SPAN&gt; &lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;vFile&lt;/EM&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;in FileList&lt;/SPAN&gt;('.\*.txt')&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;Data:&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;$(vConcatenate)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;LOAD&lt;/SPAN&gt; * &lt;SPAN style="color: #0000ff;"&gt;FROM&lt;/SPAN&gt; [$(vFile)];&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Set&lt;/SPAN&gt; &lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;vConcatenate&lt;/EM&gt;&lt;/SPAN&gt; = Concatenate ;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Next&lt;/SPAN&gt; &lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;vFile&lt;/EM&gt;&lt;/SPAN&gt;&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, 09 Mar 2017 13:05:27 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2017-03-09T13:05:27Z</dc:date>
    <item>
      <title>More advanced control over data load required – where to start?</title>
      <link>https://community.qlik.com/t5/QlikView/More-advanced-control-over-data-load-required-where-to-start/m-p/1260270#M849496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a relatively simple load script that pulls in text files (containing PO data).&amp;nbsp; We receive these files daily and the load script always starts from the very first file, importing them in 1 after the other.&amp;nbsp; These files are fairly large and after a year of business this reloaded is starting to take a while.&amp;nbsp; This is the first problem - we need to move to an incremental load so the newest files are added to the previously loaded data.&amp;nbsp; I believe we need to research incrementally loading to a QVD file &lt;A href="https://community.qlik.com/thread/48633" target="_blank"&gt;Incremental reload and store into QVD file&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However there's a second dimension to this query i want to understand how to deal with this when building the incremental loading script.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So these files have recently had two new [additional] fields added to the end of the existing file format (all the original fields are still included). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We took the approach of duplicating the original load script and simply adding the two extra fields to it - which as i'm sure you can imagine has made a mess the tables.&amp;nbsp; QV has made links between every duplicate field - we have $syn tables galore!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So we need to learn how to do an incremental load but also how to bring in the new fields the existing table.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Would really appreciate a pointer as to where to start with this - which topics should we investigate?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/More-advanced-control-over-data-load-required-where-to-start/m-p/1260270#M849496</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: More advanced control over data load required – where to start?</title>
      <link>https://community.qlik.com/t5/QlikView/More-advanced-control-over-data-load-required-where-to-start/m-p/1260271#M849497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use a filelist-loop and force the concatenation of your files, like in this example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Set&lt;/SPAN&gt; &lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;vConcatenate&lt;/EM&gt;&lt;/SPAN&gt; = ;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;For each&lt;/SPAN&gt; &lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;vFile&lt;/EM&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;in FileList&lt;/SPAN&gt;('.\*.txt')&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;Data:&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;$(vConcatenate)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;LOAD&lt;/SPAN&gt; * &lt;SPAN style="color: #0000ff;"&gt;FROM&lt;/SPAN&gt; [$(vFile)];&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Set&lt;/SPAN&gt; &lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;vConcatenate&lt;/EM&gt;&lt;/SPAN&gt; = Concatenate ;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Next&lt;/SPAN&gt; &lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;vFile&lt;/EM&gt;&lt;/SPAN&gt;&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, 09 Mar 2017 13:05:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/More-advanced-control-over-data-load-required-where-to-start/m-p/1260271#M849497</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-03-09T13:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: More advanced control over data load required – where to start?</title>
      <link>https://community.qlik.com/t5/QlikView/More-advanced-control-over-data-load-required-where-to-start/m-p/1260272#M849498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I like that, neat!&lt;/P&gt;&lt;P&gt;You could (just for giggles) also do this which will load all text files without the loop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ID&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate(Data)&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM *.txt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did blog something about this before, the spec was to load only new files and keep a track of what had been loaded, probably way more complex than you need but it might be useful for some pointers&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikanddirty.com/2016/08/26/loading-only-new-files-with-logfiles/" title="http://qlikanddirty.com/2016/08/26/loading-only-new-files-with-logfiles/"&gt;http://qlikanddirty.com/2016/08/26/loading-only-new-files-with-logfiles/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 15:20:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/More-advanced-control-over-data-load-required-where-to-start/m-p/1260272#M849498</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-09T15:20:59Z</dc:date>
    </item>
  </channel>
</rss>

