<?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: IF / OR STATEMENT HELP in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Re-IF-OR-STATEMENT-HELP/m-p/1982490#M1221071</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;try this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;,if(WildMatch(code, 34,35), 'Canada'&lt;BR /&gt;,if(WildMatch(code, 14,20,43), 'Mexico'&lt;BR /&gt;,if(WildMatch(code, 34,35) AND WildMatch(code, 14,20,43), 'Both'))) as country&lt;/P&gt;</description>
    <pubDate>Mon, 19 Sep 2022 10:54:15 GMT</pubDate>
    <dc:creator>Vadimb</dc:creator>
    <dc:date>2022-09-19T10:54:15Z</dc:date>
    <item>
      <title>Re: IF / OR STATEMENT HELP</title>
      <link>https://community.qlik.com/t5/QlikView/Re-IF-OR-STATEMENT-HELP/m-p/1982439#M1221067</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have one requirement&lt;/P&gt;
&lt;P&gt;I have dataset with columns parts and code&lt;/P&gt;
&lt;P&gt;I need to add new country column in script like :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if any of the code = 34 or 35 country = Canada&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if&amp;nbsp;any of the code&amp;nbsp;=14, 20 OR 43&amp;nbsp;country = Mexico&lt;/P&gt;
&lt;P&gt;if&amp;nbsp;any of the code =&amp;nbsp;34 or 35 and&amp;nbsp;14, 20 OR 43&amp;nbsp;country = Both&lt;/P&gt;
&lt;P&gt;all this should be appear as country column&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 09:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Re-IF-OR-STATEMENT-HELP/m-p/1982439#M1221067</guid>
      <dc:creator>Bharathi09</dc:creator>
      <dc:date>2022-09-19T09:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: IF / OR STATEMENT HELP</title>
      <link>https://community.qlik.com/t5/QlikView/Re-IF-OR-STATEMENT-HELP/m-p/1982490#M1221071</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;try this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;,if(WildMatch(code, 34,35), 'Canada'&lt;BR /&gt;,if(WildMatch(code, 14,20,43), 'Mexico'&lt;BR /&gt;,if(WildMatch(code, 34,35) AND WildMatch(code, 14,20,43), 'Both'))) as country&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 10:54:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Re-IF-OR-STATEMENT-HELP/m-p/1982490#M1221071</guid>
      <dc:creator>Vadimb</dc:creator>
      <dc:date>2022-09-19T10:54:15Z</dc:date>
    </item>
  </channel>
</rss>

