<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/load/m-p/881784#M1010662</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is what the help section has &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;SPAN class="Bold"&gt;add&lt;/SPAN&gt; prefix can be added to any &lt;A class="MCXref_0"&gt;&lt;EM&gt;Load&lt;/EM&gt;&lt;/A&gt;, &lt;A class="MCXref_0"&gt;&lt;EM&gt;Select (SQL)&lt;/EM&gt;&lt;/A&gt; or &lt;A class="MCXref_0"&gt;&lt;EM&gt;Map ... using&lt;/EM&gt;&lt;/A&gt; statement in the script. It is only relevant during &lt;A class="MCXref_0"&gt;&lt;EM&gt;Partial Reload&lt;/EM&gt;&lt;/A&gt;. During a partial reload the QlikView table, for which a table name is generated by the &lt;SPAN class="Bold"&gt;add load&lt;/SPAN&gt;/&lt;SPAN class="Bold"&gt;add select&lt;/SPAN&gt; statement (provided such a table exists), will be appended with the result of the &lt;SPAN class="Bold"&gt;add load/add select&lt;/SPAN&gt; statement. No check for duplicates is performed. Therefore, a statement using the add prefix will normally include either a &lt;SPAN class="Bold"&gt;distinct&lt;/SPAN&gt; qualifier or a &lt;SPAN class="Bold"&gt;where&lt;/SPAN&gt; clause guarding duplicates. The &lt;SPAN class="Bold"&gt;map...using&lt;/SPAN&gt; statement causes mapping to take place also during partial script execution. &lt;/P&gt;&lt;P&gt;The syntax is:&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="syntax"&gt;&lt;SPAN class="Bold"&gt;add&lt;/SPAN&gt; [&lt;SPAN class="Bold"&gt;only&lt;/SPAN&gt;] &lt;SPAN class="Bold"&gt;(&lt;/SPAN&gt;loadstatement |selectstatement |mapstatement&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;where:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;only&lt;/SPAN&gt; is an optional qualifier denoting that the statement should be disregarded during normal (non-partial) reloads. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;Tab1:&lt;/P&gt;&lt;P class="Code"&gt;LOAD Name, Number FROM Persons.csv;&lt;/P&gt;&lt;P class="Code"&gt;ADD LOAD Name, Number FROM newPersons.csv;&lt;/P&gt;&lt;P&gt;During normal reload, data is loaded from &lt;SPAN class="Italic"&gt;Persons.csv&lt;/SPAN&gt; and stored in the QlikView table &lt;SPAN class="Italic"&gt;Tab1&lt;/SPAN&gt;. Data from NewPersons.csv is then concatenated to the same QlikView table. See &lt;A class="MCXref_0"&gt;&lt;EM&gt;Concatenation&lt;/EM&gt;&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;During partial reload, data is loaded from &lt;SPAN class="Italic"&gt;NewPersons.csv&lt;/SPAN&gt; and appended to the QlikView table &lt;SPAN class="Italic"&gt;Tab1&lt;/SPAN&gt;. No check for duplicates is made. &lt;/P&gt;&lt;P class="Code"&gt;Tab1:&lt;/P&gt;&lt;P class="Code"&gt;SELECT Name, Number FROM Persons.csv;&lt;/P&gt;&lt;P class="Code"&gt;ADD LOAD Name, Number FROM NewPersons.csv Where not exists(Name);&lt;/P&gt;&lt;P&gt;A check for duplicates is made by means of looking if &lt;SPAN class="Italic"&gt;Name&lt;/SPAN&gt; exists in the previously loaded table data (see the function &lt;SPAN class="Italic"&gt;exists&lt;/SPAN&gt; under &lt;A class="MCXref_0"&gt;&lt;EM&gt;exists(field [ , expression ] )&lt;/EM&gt;&lt;/A&gt;). &lt;/P&gt;&lt;P&gt;During normal reload, data is loaded from &lt;SPAN class="Italic"&gt;Persons.csv&lt;/SPAN&gt; and stored in the QlikView table &lt;SPAN class="Italic"&gt;Tab1&lt;/SPAN&gt;. Data from &lt;SPAN class="Italic"&gt;NewPersons.csv&lt;/SPAN&gt; is then concatenated to the same QlikView table. &lt;/P&gt;&lt;P&gt;During partial reload, data is loaded from &lt;SPAN class="Italic"&gt;NewPersons.csv&lt;/SPAN&gt; which is appended to the QlikView table &lt;SPAN class="Italic"&gt;Tab1&lt;/SPAN&gt;. A check for duplicates is made by means of seeing if &lt;SPAN class="Italic"&gt;Name&lt;/SPAN&gt; exists in the previously loaded table data. &lt;/P&gt;&lt;P class="Code"&gt;Tab1:&lt;/P&gt;&lt;P class="Code"&gt;LOAD Name, Number FROM Persons.csv;&lt;/P&gt;&lt;P class="Code"&gt;ADD ONLY LOAD Name, Number FROM NewPersons.csv Where not exists(Name);&lt;/P&gt;&lt;P&gt;During normal reload, data is loaded from &lt;SPAN class="Italic"&gt;Persons.csv&lt;/SPAN&gt; and stored in the QlikView table &lt;SPAN class="Italic"&gt;Tab1&lt;/SPAN&gt;. The statement loading &lt;SPAN class="Italic"&gt;NewPersons.csv&lt;/SPAN&gt; is disregarded. &lt;/P&gt;&lt;P&gt;During partial reload, data is loaded from &lt;SPAN class="Italic"&gt;NewPersons.csv&lt;/SPAN&gt; which is appended to the QlikView table &lt;SPAN class="Italic"&gt;Tab1&lt;/SPAN&gt;. A check for duplicates is made by means of seeing if &lt;SPAN class="Italic"&gt;Name&lt;/SPAN&gt; exists in the previously loaded table data. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2015 18:10:25 GMT</pubDate>
    <dc:creator>ramoncova06</dc:creator>
    <dc:date>2015-05-05T18:10:25Z</dc:date>
    <item>
      <title>load</title>
      <link>https://community.qlik.com/t5/QlikView/load/m-p/881783#M1010661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the difference between 'add only' and 'add' function in partial reload ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 17:50:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load/m-p/881783#M1010661</guid>
      <dc:creator>maniram23</dc:creator>
      <dc:date>2015-05-05T17:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: load</title>
      <link>https://community.qlik.com/t5/QlikView/load/m-p/881784#M1010662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is what the help section has &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;SPAN class="Bold"&gt;add&lt;/SPAN&gt; prefix can be added to any &lt;A class="MCXref_0"&gt;&lt;EM&gt;Load&lt;/EM&gt;&lt;/A&gt;, &lt;A class="MCXref_0"&gt;&lt;EM&gt;Select (SQL)&lt;/EM&gt;&lt;/A&gt; or &lt;A class="MCXref_0"&gt;&lt;EM&gt;Map ... using&lt;/EM&gt;&lt;/A&gt; statement in the script. It is only relevant during &lt;A class="MCXref_0"&gt;&lt;EM&gt;Partial Reload&lt;/EM&gt;&lt;/A&gt;. During a partial reload the QlikView table, for which a table name is generated by the &lt;SPAN class="Bold"&gt;add load&lt;/SPAN&gt;/&lt;SPAN class="Bold"&gt;add select&lt;/SPAN&gt; statement (provided such a table exists), will be appended with the result of the &lt;SPAN class="Bold"&gt;add load/add select&lt;/SPAN&gt; statement. No check for duplicates is performed. Therefore, a statement using the add prefix will normally include either a &lt;SPAN class="Bold"&gt;distinct&lt;/SPAN&gt; qualifier or a &lt;SPAN class="Bold"&gt;where&lt;/SPAN&gt; clause guarding duplicates. The &lt;SPAN class="Bold"&gt;map...using&lt;/SPAN&gt; statement causes mapping to take place also during partial script execution. &lt;/P&gt;&lt;P&gt;The syntax is:&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="syntax"&gt;&lt;SPAN class="Bold"&gt;add&lt;/SPAN&gt; [&lt;SPAN class="Bold"&gt;only&lt;/SPAN&gt;] &lt;SPAN class="Bold"&gt;(&lt;/SPAN&gt;loadstatement |selectstatement |mapstatement&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;where:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;only&lt;/SPAN&gt; is an optional qualifier denoting that the statement should be disregarded during normal (non-partial) reloads. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;Tab1:&lt;/P&gt;&lt;P class="Code"&gt;LOAD Name, Number FROM Persons.csv;&lt;/P&gt;&lt;P class="Code"&gt;ADD LOAD Name, Number FROM newPersons.csv;&lt;/P&gt;&lt;P&gt;During normal reload, data is loaded from &lt;SPAN class="Italic"&gt;Persons.csv&lt;/SPAN&gt; and stored in the QlikView table &lt;SPAN class="Italic"&gt;Tab1&lt;/SPAN&gt;. Data from NewPersons.csv is then concatenated to the same QlikView table. See &lt;A class="MCXref_0"&gt;&lt;EM&gt;Concatenation&lt;/EM&gt;&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;During partial reload, data is loaded from &lt;SPAN class="Italic"&gt;NewPersons.csv&lt;/SPAN&gt; and appended to the QlikView table &lt;SPAN class="Italic"&gt;Tab1&lt;/SPAN&gt;. No check for duplicates is made. &lt;/P&gt;&lt;P class="Code"&gt;Tab1:&lt;/P&gt;&lt;P class="Code"&gt;SELECT Name, Number FROM Persons.csv;&lt;/P&gt;&lt;P class="Code"&gt;ADD LOAD Name, Number FROM NewPersons.csv Where not exists(Name);&lt;/P&gt;&lt;P&gt;A check for duplicates is made by means of looking if &lt;SPAN class="Italic"&gt;Name&lt;/SPAN&gt; exists in the previously loaded table data (see the function &lt;SPAN class="Italic"&gt;exists&lt;/SPAN&gt; under &lt;A class="MCXref_0"&gt;&lt;EM&gt;exists(field [ , expression ] )&lt;/EM&gt;&lt;/A&gt;). &lt;/P&gt;&lt;P&gt;During normal reload, data is loaded from &lt;SPAN class="Italic"&gt;Persons.csv&lt;/SPAN&gt; and stored in the QlikView table &lt;SPAN class="Italic"&gt;Tab1&lt;/SPAN&gt;. Data from &lt;SPAN class="Italic"&gt;NewPersons.csv&lt;/SPAN&gt; is then concatenated to the same QlikView table. &lt;/P&gt;&lt;P&gt;During partial reload, data is loaded from &lt;SPAN class="Italic"&gt;NewPersons.csv&lt;/SPAN&gt; which is appended to the QlikView table &lt;SPAN class="Italic"&gt;Tab1&lt;/SPAN&gt;. A check for duplicates is made by means of seeing if &lt;SPAN class="Italic"&gt;Name&lt;/SPAN&gt; exists in the previously loaded table data. &lt;/P&gt;&lt;P class="Code"&gt;Tab1:&lt;/P&gt;&lt;P class="Code"&gt;LOAD Name, Number FROM Persons.csv;&lt;/P&gt;&lt;P class="Code"&gt;ADD ONLY LOAD Name, Number FROM NewPersons.csv Where not exists(Name);&lt;/P&gt;&lt;P&gt;During normal reload, data is loaded from &lt;SPAN class="Italic"&gt;Persons.csv&lt;/SPAN&gt; and stored in the QlikView table &lt;SPAN class="Italic"&gt;Tab1&lt;/SPAN&gt;. The statement loading &lt;SPAN class="Italic"&gt;NewPersons.csv&lt;/SPAN&gt; is disregarded. &lt;/P&gt;&lt;P&gt;During partial reload, data is loaded from &lt;SPAN class="Italic"&gt;NewPersons.csv&lt;/SPAN&gt; which is appended to the QlikView table &lt;SPAN class="Italic"&gt;Tab1&lt;/SPAN&gt;. A check for duplicates is made by means of seeing if &lt;SPAN class="Italic"&gt;Name&lt;/SPAN&gt; exists in the previously loaded table data. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 18:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load/m-p/881784#M1010662</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-05-05T18:10:25Z</dc:date>
    </item>
  </channel>
</rss>

