<?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: Exclude records from LOAD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exclude-records-from-LOAD/m-p/1089528#M942589</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM XYZ&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Where not ((Customer = 'Customer123' and Year = 2005 and Agent = 'Ageny456') or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="color: #ff0000;"&gt;Customer = 'Customer789' and Year = 2004 and Agent = 'AgenyABC'));&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jan 2016 19:18:02 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-01-14T19:18:02Z</dc:date>
    <item>
      <title>Exclude records from LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-records-from-LOAD/m-p/1089527#M942588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to exclude multiple records from a LOAD, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer = 'Customer123' and Year = '2005' and Agent = 'Agent456'&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Customer = 'Customer789' and Year = '2004' and Agent = 'AgentABC'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and so on&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;How can i achive this in a LOAD?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 10:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-records-from-LOAD/m-p/1089527#M942588</guid>
      <dc:creator />
      <dc:date>2016-01-14T10:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude records from LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-records-from-LOAD/m-p/1089528#M942589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM XYZ&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Where not ((Customer = 'Customer123' and Year = 2005 and Agent = 'Ageny456') or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="color: #ff0000;"&gt;Customer = 'Customer789' and Year = 2004 and Agent = 'AgenyABC'));&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 19:18:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-records-from-LOAD/m-p/1089528#M942589</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-14T19:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude records from LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-records-from-LOAD/m-p/1089529#M942590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Customer, Year, Agent&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Customer123,2005,Agent456&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Customer789,2004,AgentABC&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Customer123,2005,a&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Customer123,2005,b&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;c,2004,AgentABC&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;where&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; not&amp;nbsp; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Customer = 'Customer123' and Year = '2005' and Agent = 'Agent456')&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Customer = 'Customer789' and Year = '2004' and Agent = 'AgentABC')&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 19:20:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-records-from-LOAD/m-p/1089529#M942590</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-01-14T19:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude records from LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-records-from-LOAD/m-p/1089530#M942592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as Sunny said, you would want to use the 'where' clause - the where clause is sued to limit the load based on where data equals or does not equal specified values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is good information in the QlikView help if you searh on 'where'&lt;/P&gt;&lt;H1&gt;&lt;A name="kanchor798"&gt;&lt;/A&gt;Load&lt;/H1&gt;&lt;P&gt;The &lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt; statement loads fields from a file, from data defined in the script, from a previously loaded table, from a web page, from the result of a subsequent &lt;SPAN class="Bold"&gt;select&lt;/SPAN&gt; statement or by generating data automatically. The general syntax of the load statement is:&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt; [ &lt;/SPAN&gt;&lt;A class="Bold" href="https://community.qlik.com/"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;distinct&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class="Italic"&gt; ] &lt;/SPAN&gt;*&lt;SPAN class="Italic"&gt;fieldlist&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Italic"&gt;[( &lt;/SPAN&gt;&lt;A class="Bold" href="https://community.qlik.com/"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;from&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class="Italic"&gt; file [ format-spec ]&lt;/SPAN&gt; | &lt;/P&gt;&lt;P class="syntax"&gt;&lt;A class="Bold" href="https://community.qlik.com/"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;from_field&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class="Italic"&gt; fieldassource [format-spec&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;]&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="syntax"&gt;&lt;A class="Bold" href="https://community.qlik.com/"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;inline&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class="Italic"&gt; data [ format-spec ]&lt;/SPAN&gt; | &lt;/P&gt;&lt;P class="syntax"&gt;&lt;A href="https://community.qlik.com/"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;resident&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class="Italic"&gt; table-label&lt;/SPAN&gt; | &lt;/P&gt;&lt;P class="syntax"&gt;&lt;A class="Bold" href="https://community.qlik.com/"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;autogenerate&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class="Italic"&gt; size )]&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Italic"&gt;[ &lt;/SPAN&gt;&lt;A class="Bold" href="https://community.qlik.com/"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;where&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class="Italic"&gt; criterion&lt;/SPAN&gt; | &lt;A class="Bold" href="https://community.qlik.com/"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;while&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class="Italic"&gt; criterion ]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Italic"&gt;[ &lt;/SPAN&gt;&lt;A class="Bold" href="https://community.qlik.com/"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;group_by&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class="Italic"&gt; groupbyfieldlist ]&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Italic"&gt;[&lt;/SPAN&gt;&lt;A class="Bold" href="https://community.qlik.com/"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;order_by&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class="Italic"&gt; orderbyfieldlist ]&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;where:&lt;/P&gt;&lt;P&gt;&lt;A name="kanchor799"&gt;&lt;/A&gt;&lt;A name="distinct"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;distinct&lt;/SPAN&gt; is a predicate used if only the first of duplicate records should be loaded. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;*fieldlist ::= ( * | field { &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;,&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt; field } )&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;A list of the fields to be loaded. Using * as field list indicates all fields in the table. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;field ::= ( fieldref &lt;/SPAN&gt;|&lt;SPAN class="Italic"&gt; expression ) [ &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;as&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt; aliasname ]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The field definition must always contain a literal, a reference to an existing field, or an expression. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;fieldref ::= ( fieldname &lt;/SPAN&gt;|@&lt;SPAN class="Italic"&gt;fieldnumber &lt;/SPAN&gt;|@&lt;SPAN class="Italic"&gt;startpos:endpos [ &lt;SPAN class="Bold"&gt;I&lt;/SPAN&gt; | &lt;SPAN class="Bold"&gt;U&lt;/SPAN&gt; | &lt;SPAN class="Bold"&gt;R&lt;/SPAN&gt;| &lt;SPAN class="Bold"&gt;B&lt;/SPAN&gt;&lt;/SPAN&gt; ] )&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;fieldname&lt;/SPAN&gt; is a text that is identical to a field name in the table. Note that the field name must be enclosed by straight double quotation marks or square brackets if it contains e.g. spaces. Sometimes field names are not explicitly available. Then a different notation is used:&lt;/P&gt;&lt;P&gt;@&lt;SPAN class="Italic"&gt;fieldnumber&lt;/SPAN&gt; represents the field number in a delimited table file. It must be a positive integer preceded by "@". The numbering is always made from 1 and up to the number of fields. &lt;/P&gt;&lt;P&gt;@&lt;SPAN class="Italic"&gt;startpos&lt;/SPAN&gt;:&lt;SPAN class="Italic"&gt;endpos&lt;/SPAN&gt; represents the start and end positions of a field in a file with fixed length records. The positions must both be positive integers. The two numbers must be preceded by "@" and separated by a colon. The numbering is always made from 1 and up to the number of positions. If @&lt;SPAN class="Italic"&gt;startpos&lt;/SPAN&gt;:&lt;SPAN class="Italic"&gt;endpos&lt;/SPAN&gt; is immediately followed by the characters &lt;SPAN class="Bold"&gt;I&lt;/SPAN&gt; or &lt;SPAN class="Bold"&gt;U&lt;/SPAN&gt;, the bytes read will be interpreted as a binary signed (&lt;SPAN class="Bold"&gt;I&lt;/SPAN&gt;) or unsigned (&lt;SPAN class="Bold"&gt;U&lt;/SPAN&gt;) integer (Intel byte order). The number of positions read must be 1, 2 or 4. If @&lt;SPAN class="Italic"&gt;startpos:endpos&lt;/SPAN&gt; is immediately followed by the character &lt;SPAN class="Bold"&gt;R&lt;/SPAN&gt;, the bytes read will be interpreted as a binary real number (IEEE 32-bit or 64 bit floating point). The number of positions read must be 4 or 8. If @&lt;SPAN class="Italic"&gt;startpos:endpos&lt;/SPAN&gt; is immediately followed by the character &lt;SPAN class="Bold"&gt;B&lt;/SPAN&gt;, the bytes read will be interpreted as a BCD (Binary Coded Decimal) numbers according to the COMP-3 standard. Any number of bytes may be specified. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; can be a numeric function or a string function based on one or several other fields in the same table. For further information, see the syntax of &lt;A class="MCXref_0" href="https://community.qlik.com/"&gt;&lt;EM style=": ; color: #0066cc; text-decoration: underline;"&gt;Script Expressions&lt;/EM&gt;&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&lt;A name="kanchor800"&gt;&lt;/A&gt;&lt;A name="as"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;as&lt;/SPAN&gt; is used for assigning a new name to the field. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 19:21:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-records-from-LOAD/m-p/1089530#M942592</guid>
      <dc:creator />
      <dc:date>2016-01-14T19:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude records from LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-records-from-LOAD/m-p/1089531#M942593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;load * &lt;/P&gt;&lt;P&gt;from abc.file&lt;/P&gt;&lt;P&gt;where &lt;/P&gt;&lt;P&gt;not (Customer = 'Customer123' and Year = '2005' and Agent = 'Agent456')&amp;nbsp; and &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;not (Customer = 'Customer789' and Year = '2004' and Agent = 'AgentABC')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 19:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-records-from-LOAD/m-p/1089531#M942593</guid>
      <dc:creator>alexpanjhc</dc:creator>
      <dc:date>2016-01-14T19:24:17Z</dc:date>
    </item>
  </channel>
</rss>

