<?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 Incremental load only loading unqualified fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-load-only-loading-unqualified-fields/m-p/298718#M110756</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, never forget the UNQUALIFY * after the commands &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jun 2011 14:16:25 GMT</pubDate>
    <dc:creator>fernandotoledo</dc:creator>
    <dc:date>2011-06-02T14:16:25Z</dc:date>
    <item>
      <title>Incremental load only loading unqualified fields</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-only-loading-unqualified-fields/m-p/298713#M110751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to run an incremental load with some SQL and data stored in a QVD file.&amp;nbsp; For some reason it is loading the QVD file, but only the unqualified fields.&amp;nbsp; I tried running it for just the QVD file (without the SQL) and it did the same thing.&amp;nbsp; Any ideas on what I am missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALL_DATA:&lt;/P&gt;&lt;P&gt;qualify *;&lt;/P&gt;&lt;P&gt;unqualify s_code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , d_date;&lt;/P&gt;&lt;P&gt;LOAD *;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;select s_code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , d_date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , r_date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , mc_code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , d_cnt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , r_cnt&lt;/P&gt;&lt;P&gt;from TABLE&lt;/P&gt;&lt;P&gt;where date(s_date)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;=&amp;nbsp;&amp;nbsp; '$(DATE_START)'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; and date(s_date)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(DATE_CURR)';&lt;/P&gt;&lt;P&gt;CONCATENATE (ALL_DATA) LOAD * FROM ALL_DATA.QVD (QVD) WHERE s_date &amp;lt; '$(DATE_START)'; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 14:50:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-only-loading-unqualified-fields/m-p/298713#M110751</guid>
      <dc:creator />
      <dc:date>2011-05-13T14:50:17Z</dc:date>
    </item>
    <item>
      <title>Incremental load only loading unqualified fields</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-only-loading-unqualified-fields/m-p/298714#M110752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been messing around with it some more, and it looks like the qualification on the QVD part is putting the table name twice.&amp;nbsp; So when I run it normally (without incremental load) with just the SQL I get &lt;STRONG&gt;ALL_DATA.r_cnt&lt;/STRONG&gt;, but when I comment out the SQL and just run the QVD portion I get &lt;STRONG&gt;ALL_DATA.ALL_DATA.r_cnt&lt;/STRONG&gt;.&amp;nbsp; So it is pulling the fields in, but the qualification is getting messed up.&amp;nbsp; Not sure how to fix that...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 15:31:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-only-loading-unqualified-fields/m-p/298714#M110752</guid>
      <dc:creator />
      <dc:date>2011-05-13T15:31:35Z</dc:date>
    </item>
    <item>
      <title>Incremental load only loading unqualified fields</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-only-loading-unqualified-fields/m-p/298715#M110753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I think I just figured it out...&amp;nbsp; If I put &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unqualify *; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in between the concatenate and the load it is qualifying with only 1 table name.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 15:47:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-only-loading-unqualified-fields/m-p/298715#M110753</guid>
      <dc:creator />
      <dc:date>2011-05-13T15:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load only loading unqualified fields</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-only-loading-unqualified-fields/m-p/298716#M110754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Incremental load needs concatenating the historic data from a QVD with the new data from the Database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the "Qualify *;" command doesn't allow you to concatenate the tables!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must make the incremental load to create a temporary Logical Table, then load resident it with the qualify command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;T&lt;SPAN style="font-family: terminal, monaco;"&gt;MP_TABLE:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-family: terminal, monaco;"&gt;//HISTORICAL DATA&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;LOAD * FROM HISTORIC.QVD WHERE DATE&amp;lt;$(DATE_CUT);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-family: terminal, monaco;"&gt;//NEW DATA AUTOMATICALLY CONCATENATED&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;LOAD *; SQL SELECT * FROM CURRENT_DATA WHERE DATE&amp;gt;=$(DATE_CUT);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-family: terminal, monaco;"&gt;//TURNS QUALIFY ON&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;QUALIFY *;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;&lt;SPAN style="color: #008000;"&gt;//QUALIFIES THE TABLE&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;TABLE:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;LOAD * RESIDENT TMP_TABLE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966; font-family: terminal, monaco;"&gt;//PUTS AWAY THE TEMPORARY TABLE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;DROP TABLE TMP_TABLE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it Helped!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 16:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-only-loading-unqualified-fields/m-p/298716#M110754</guid>
      <dc:creator>fernandotoledo</dc:creator>
      <dc:date>2011-05-13T16:11:12Z</dc:date>
    </item>
    <item>
      <title>Incremental load only loading unqualified fields</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-only-loading-unqualified-fields/m-p/298717#M110755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Yep, that worked.&amp;nbsp; For each table I have, I did a separate load to a temp table with everything unqualified and stored that as a QVD.&amp;nbsp; Then I loaded them from the QVDs into QV with the fields I need qualified.&amp;nbsp; The incremental load will add rows to the unqualified QVD files in the same manner.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One hiccup I had was that I had each table on a separate tab in the load script and didn't put an unqualify command for each table, so my qualify statements were carrying over into the other tabs.&amp;nbsp; So you just need to make sure you are putting unqualify *; for each table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 14:10:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-only-loading-unqualified-fields/m-p/298717#M110755</guid>
      <dc:creator />
      <dc:date>2011-06-02T14:10:13Z</dc:date>
    </item>
    <item>
      <title>Incremental load only loading unqualified fields</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-only-loading-unqualified-fields/m-p/298718#M110756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, never forget the UNQUALIFY * after the commands &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 14:16:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-only-loading-unqualified-fields/m-p/298718#M110756</guid>
      <dc:creator>fernandotoledo</dc:creator>
      <dc:date>2011-06-02T14:16:25Z</dc:date>
    </item>
  </channel>
</rss>

