<?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 and wildmatch in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-and-wildmatch/m-p/775234#M1038171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Ename field ,if scott value is found it gives matching Empno for that record,else&lt;/P&gt;&lt;P&gt;its checks for values 'KING' or 'President'&amp;nbsp; and MGR field&amp;nbsp; is Null it gives matching Empno for that record.&lt;/P&gt;&lt;P&gt;and no match found it returns Null.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Dec 2014 20:08:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-12-22T20:08:13Z</dc:date>
    <item>
      <title>if and wildmatch</title>
      <link>https://community.qlik.com/t5/QlikView/if-and-wildmatch/m-p/775231#M1038168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14192755995056926" jivemacro_uid="_14192755995056926" modifiedtitle="true"&gt;
&lt;P&gt;if(wildmatch(EName,'SCOTT') &amp;gt;=1,Empno,&lt;/P&gt;
&lt;P&gt;if(wildmatch(&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 11.8181819915771px;"&gt;EName&lt;/SPAN&gt;,'KING','President') and MGR = 'NULL',Empno,&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What the above script will do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 19:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-and-wildmatch/m-p/775231#M1038168</guid>
      <dc:creator />
      <dc:date>2014-12-22T19:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: if and wildmatch</title>
      <link>https://community.qlik.com/t5/QlikView/if-and-wildmatch/m-p/775232#M1038169</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;WildMatch is used for a match where a string can be part of the search string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;wildmatch(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt; str, expr1 [ , expr2,...exprN ] &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;SPAN class="Bold"&gt;wildmatch&lt;/SPAN&gt; function performs a case insensitive comparison and permits the use of wildcard characters (&lt;SPAN class="Bold"&gt; *&lt;/SPAN&gt; and &lt;SPAN class="Bold"&gt;?&lt;/SPAN&gt;) in the comparison strings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="example"&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;&lt;SPAN class="Code"&gt;wildmatch( M, 'ja*','fe?','mar')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-left: 80px;"&gt;returns &lt;SPAN class="Italic"&gt;1&lt;/SPAN&gt; if &lt;SPAN class="Italic"&gt;M&lt;/SPAN&gt; = &lt;SPAN class="Italic"&gt;January&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-left: 80px;"&gt;returns &lt;SPAN class="Italic"&gt;2 &lt;/SPAN&gt;if &lt;SPAN class="Italic"&gt;M&lt;/SPAN&gt; = &lt;SPAN class="Italic"&gt;fex&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 80px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Neetha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 20:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-and-wildmatch/m-p/775232#M1038169</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-22T20:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: if and wildmatch</title>
      <link>https://community.qlik.com/t5/QlikView/if-and-wildmatch/m-p/775233#M1038170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it finds SCOTT (case sensitive) in the field ename it will give you the empno in those records.&amp;nbsp; If it's not 'SCOTT' it will look for 'KING' or 'President' (again case matters) if it finds either of those EXACTLY as they are given in the script and the MGR field is null it will give you the empno for those records.&amp;nbsp; If neither of those conditions are found it will return NULL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WildMatch is essentially the same as match if you do not use a WildCard ('*' or '?') in the if statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 20:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-and-wildmatch/m-p/775233#M1038170</guid>
      <dc:creator>jpapador</dc:creator>
      <dc:date>2014-12-22T20:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: if and wildmatch</title>
      <link>https://community.qlik.com/t5/QlikView/if-and-wildmatch/m-p/775234#M1038171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Ename field ,if scott value is found it gives matching Empno for that record,else&lt;/P&gt;&lt;P&gt;its checks for values 'KING' or 'President'&amp;nbsp; and MGR field&amp;nbsp; is Null it gives matching Empno for that record.&lt;/P&gt;&lt;P&gt;and no match found it returns Null.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 20:08:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-and-wildmatch/m-p/775234#M1038171</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-22T20:08:13Z</dc:date>
    </item>
  </channel>
</rss>

