<?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: Translating  SQL where clause in Qlik If statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Translating-SQL-where-clause-in-Qlik-If-statement/m-p/1676408#M728503</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maybe try with&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;load*,
pick(match(Type&amp;amp;ID,Int100,SA200,TE200),'Pack','Pack','Pack') as TestField&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 17 Feb 2020 21:55:09 GMT</pubDate>
    <dc:creator>sergio0592</dc:creator>
    <dc:date>2020-02-17T21:55:09Z</dc:date>
    <item>
      <title>Translating  SQL where clause in Qlik If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Translating-SQL-where-clause-in-Qlik-If-statement/m-p/1676400#M728502</link>
      <description>&lt;P&gt;&lt;BR /&gt;SQL statement&lt;BR /&gt;where (Type = 'Int' and ID = '100') or ( Type IN ('SA,'TE') and ID = '200')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Qlik Script:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;IF((Wildmatch(Type,'Int') and match(ID,'100') )or (Wildmatch(Type,'SA,'TE') and match(ID,'200') ), 'Pack') as TestField&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where i am doing wrong in Qlik if statement? Any help would be very much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AH&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translating-SQL-where-clause-in-Qlik-If-statement/m-p/1676400#M728502</guid>
      <dc:creator>AH</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Translating  SQL where clause in Qlik If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Translating-SQL-where-clause-in-Qlik-If-statement/m-p/1676408#M728503</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maybe try with&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;load*,
pick(match(Type&amp;amp;ID,Int100,SA200,TE200),'Pack','Pack','Pack') as TestField&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 17 Feb 2020 21:55:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translating-SQL-where-clause-in-Qlik-If-statement/m-p/1676408#M728503</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2020-02-17T21:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Translating  SQL where clause in Qlik If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Translating-SQL-where-clause-in-Qlik-If-statement/m-p/1676410#M728504</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If((Type = 'Int' and ID = '100') or ( match(Type,'SA,'TE') and ID = '200'),'TRUE','FALSE') as TestField&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 21:58:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translating-SQL-where-clause-in-Qlik-If-statement/m-p/1676410#M728504</guid>
      <dc:creator>TimvB</dc:creator>
      <dc:date>2020-02-17T21:58:45Z</dc:date>
    </item>
  </channel>
</rss>

