<?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 define one WHERE statement for misc tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/define-one-WHERE-statement-for-misc-tables/m-p/199804#M58580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frank,&lt;/P&gt;&lt;P&gt;t.u. for your answer. It helps unexperienced programmers like me to learn the tricks of the trade.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Apr 2010 15:55:14 GMT</pubDate>
    <dc:creator>qlikhans</dc:creator>
    <dc:date>2010-04-01T15:55:14Z</dc:date>
    <item>
      <title>define one WHERE statement for misc tables</title>
      <link>https://community.qlik.com/t5/QlikView/define-one-WHERE-statement-for-misc-tables/m-p/199801#M58577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suppose I have 3 tables, all containing amongst others a company name (fieldname is Company). I want to limit my output to one company: ' ABC'.&lt;/P&gt;&lt;P&gt;What I do now is for each of the tables I insert WHERE(Company='ABC'). Is it possible to make 1 WHERE statement that goes for all tables?&lt;/P&gt;&lt;P&gt;appreciate your response&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 18:20:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/define-one-WHERE-statement-for-misc-tables/m-p/199801#M58577</guid>
      <dc:creator>qlikhans</dc:creator>
      <dc:date>2010-03-31T18:20:31Z</dc:date>
    </item>
    <item>
      <title>define one WHERE statement for misc tables</title>
      <link>https://community.qlik.com/t5/QlikView/define-one-WHERE-statement-for-misc-tables/m-p/199802#M58578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One option is to use the current where clause for the first table, and for the other two use WHERE EXISTS(Company).&lt;/P&gt;&lt;P&gt;For the other two tables, it will only load records where the company exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 18:40:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/define-one-WHERE-statement-for-misc-tables/m-p/199802#M58578</guid>
      <dc:creator>sicilianif</dc:creator>
      <dc:date>2010-03-31T18:40:17Z</dc:date>
    </item>
    <item>
      <title>define one WHERE statement for misc tables</title>
      <link>https://community.qlik.com/t5/QlikView/define-one-WHERE-statement-for-misc-tables/m-p/199803#M58579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You can define the where-statement in a varible that you use in all your 3 load-statements:&lt;BR /&gt;&lt;BR /&gt;LET &lt;STRONG&gt;whereStatement&lt;/STRONG&gt; = 'WHERE(Company=' &amp;amp; chr(39) &amp;amp; 'ABC' &amp;amp; chr(39) &amp;amp; ')'; 'chr(39) is the single quote character&lt;/P&gt;&lt;P&gt;LOAD * FROM myFile $(&lt;STRONG&gt;whereStatement&lt;/STRONG&gt;);&lt;BR /&gt;LOAD * FROM mySecondFile $(&lt;STRONG&gt;whereStatement&lt;/STRONG&gt;);&lt;BR /&gt;LOAD * FROM myThirdFile $(&lt;STRONG&gt;whereStatement&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;/Fredrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 19:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/define-one-WHERE-statement-for-misc-tables/m-p/199803#M58579</guid>
      <dc:creator />
      <dc:date>2010-03-31T19:07:03Z</dc:date>
    </item>
    <item>
      <title>define one WHERE statement for misc tables</title>
      <link>https://community.qlik.com/t5/QlikView/define-one-WHERE-statement-for-misc-tables/m-p/199804#M58580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frank,&lt;/P&gt;&lt;P&gt;t.u. for your answer. It helps unexperienced programmers like me to learn the tricks of the trade.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Apr 2010 15:55:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/define-one-WHERE-statement-for-misc-tables/m-p/199804#M58580</guid>
      <dc:creator>qlikhans</dc:creator>
      <dc:date>2010-04-01T15:55:14Z</dc:date>
    </item>
    <item>
      <title>define one WHERE statement for misc tables</title>
      <link>https://community.qlik.com/t5/QlikView/define-one-WHERE-statement-for-misc-tables/m-p/199805#M58581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fredrik,&lt;/P&gt;&lt;P&gt;As replied to Frank, I am learning to program on the fly, and comments like yours help me a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Apr 2010 15:56:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/define-one-WHERE-statement-for-misc-tables/m-p/199805#M58581</guid>
      <dc:creator>qlikhans</dc:creator>
      <dc:date>2010-04-01T15:56:40Z</dc:date>
    </item>
  </channel>
</rss>

