<?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: remove where condition hard coding in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/remove-where-condition-hard-coding/m-p/120264#M18456</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;he is mentioned like create a variable like&lt;/P&gt;&lt;P&gt;set records=&lt;/P&gt;&lt;P&gt;WildMatch(SystemCode,'722006',&lt;/P&gt;&lt;P&gt;'722008',&lt;/P&gt;&lt;P&gt;'722010',&lt;/P&gt;&lt;P&gt;'722005',&lt;/P&gt;&lt;P&gt;'722011',&lt;/P&gt;&lt;P&gt;'722012',&lt;/P&gt;&lt;P&gt;'722013',&lt;/P&gt;&lt;P&gt;'722023',&lt;/P&gt;&lt;P&gt;'722025',&lt;/P&gt;&lt;P&gt;'722026');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then call the variable like&lt;/P&gt;&lt;P&gt;where $(records)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is similar to your syntax but just reduce the hardcode &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Sep 2018 12:00:58 GMT</pubDate>
    <dc:creator>manoj217</dc:creator>
    <dc:date>2018-09-12T12:00:58Z</dc:date>
    <item>
      <title>remove where condition hard coding</title>
      <link>https://community.qlik.com/t5/QlikView/remove-where-condition-hard-coding/m-p/120260#M18452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a qvd and few fields. Now when i load that qvd instead of loading whole data i need to only few system codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that i am writing hard coding in where condition as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;P&gt;WildMatch(SystemCode,'722006',&lt;/P&gt;&lt;P&gt;'722008',&lt;/P&gt;&lt;P&gt;'722010',&lt;/P&gt;&lt;P&gt;'722005',&lt;/P&gt;&lt;P&gt;'722011',&lt;/P&gt;&lt;P&gt;'722012',&lt;/P&gt;&lt;P&gt;'722013',&lt;/P&gt;&lt;P&gt;'722023',&lt;/P&gt;&lt;P&gt;'722025',&lt;/P&gt;&lt;P&gt;'722026');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me is there any approach to remove this had coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 11:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/remove-where-condition-hard-coding/m-p/120260#M18452</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-09-12T11:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: remove where condition hard coding</title>
      <link>https://community.qlik.com/t5/QlikView/remove-where-condition-hard-coding/m-p/120261#M18453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the script can't guess the references you want to remove, so you have to write it somewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can put it in a variable at the beginning of the script and call the variable on the WHERE, it will look cleaner maybe ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 11:52:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/remove-where-condition-hard-coding/m-p/120261#M18453</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-09-12T11:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: remove where condition hard coding</title>
      <link>https://community.qlik.com/t5/QlikView/remove-where-condition-hard-coding/m-p/120262#M18454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me how to do..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 11:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/remove-where-condition-hard-coding/m-p/120262#M18454</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-09-12T11:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: remove where condition hard coding</title>
      <link>https://community.qlik.com/t5/QlikView/remove-where-condition-hard-coding/m-p/120263#M18455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmm,&lt;/P&gt;&lt;P&gt;you may put your condition into a variable:&lt;/P&gt;&lt;P&gt;LET myFilter = '722006, 722008';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD .... FROM ....&lt;/P&gt;&lt;P&gt;WHERE WILDMATCH(Systemcode, $(myFilter));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above may work easy for numbers, strings must be enclosed in apostrophs:&lt;/P&gt;&lt;P&gt;LET myFilter = CHR(39) &amp;amp; '722006' &amp;amp; CHR(39) &amp;amp; ',' &amp;amp; CHR(39) &amp;amp; '722008' &amp;amp; .... etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET myFilter = CHR(39) &amp;amp; '*' &amp;amp; CHR(39) would not filter anything ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 11:59:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/remove-where-condition-hard-coding/m-p/120263#M18455</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2018-09-12T11:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: remove where condition hard coding</title>
      <link>https://community.qlik.com/t5/QlikView/remove-where-condition-hard-coding/m-p/120264#M18456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;he is mentioned like create a variable like&lt;/P&gt;&lt;P&gt;set records=&lt;/P&gt;&lt;P&gt;WildMatch(SystemCode,'722006',&lt;/P&gt;&lt;P&gt;'722008',&lt;/P&gt;&lt;P&gt;'722010',&lt;/P&gt;&lt;P&gt;'722005',&lt;/P&gt;&lt;P&gt;'722011',&lt;/P&gt;&lt;P&gt;'722012',&lt;/P&gt;&lt;P&gt;'722013',&lt;/P&gt;&lt;P&gt;'722023',&lt;/P&gt;&lt;P&gt;'722025',&lt;/P&gt;&lt;P&gt;'722026');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then call the variable like&lt;/P&gt;&lt;P&gt;where $(records)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is similar to your syntax but just reduce the hardcode &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 12:00:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/remove-where-condition-hard-coding/m-p/120264#M18456</guid>
      <dc:creator>manoj217</dc:creator>
      <dc:date>2018-09-12T12:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: remove where condition hard coding</title>
      <link>https://community.qlik.com/t5/QlikView/remove-where-condition-hard-coding/m-p/120265#M18457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys already shows you examples below &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 12:31:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/remove-where-condition-hard-coding/m-p/120265#M18457</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-09-12T12:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: remove where condition hard coding</title>
      <link>https://community.qlik.com/t5/QlikView/remove-where-condition-hard-coding/m-p/120266#M18458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 12:47:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/remove-where-condition-hard-coding/m-p/120266#M18458</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-09-12T12:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: remove where condition hard coding</title>
      <link>https://community.qlik.com/t5/QlikView/remove-where-condition-hard-coding/m-p/120267#M18459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using joins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RequiredEntries:&lt;/P&gt;&lt;P&gt;Load * INLINE&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Required&lt;/P&gt;&lt;P&gt;'722006'&lt;/P&gt;&lt;P&gt;'722008'&lt;/P&gt;&lt;P&gt;'722010'&lt;/P&gt;&lt;P&gt;'722005'&lt;/P&gt;&lt;P&gt;'722011'&lt;/P&gt;&lt;P&gt;'722012'&lt;/P&gt;&lt;P&gt;'722013'&lt;/P&gt;&lt;P&gt;'722023'&lt;/P&gt;&lt;P&gt;'722025'&lt;/P&gt;&lt;P&gt;'722026'&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;Where EXISTS (SystemCode, Required)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 14:16:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/remove-where-condition-hard-coding/m-p/120267#M18459</guid>
      <dc:creator>nsetty</dc:creator>
      <dc:date>2018-09-12T14:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: remove where condition hard coding</title>
      <link>https://community.qlik.com/t5/QlikView/remove-where-condition-hard-coding/m-p/120268#M18460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JOIN is a really performant tool, however you may not change it to load all, as the OP has asked for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 13:25:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/remove-where-condition-hard-coding/m-p/120268#M18460</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2018-09-13T13:25:28Z</dc:date>
    </item>
  </channel>
</rss>

