<?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 Match in Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59171#M9818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(Match([FNum],'140','150','160','170') and M&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;atch([Anum],'*')&lt;/SPAN&gt;, 'Fnum', Anum)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2018 16:18:42 GMT</pubDate>
    <dc:creator>Chanty4u</dc:creator>
    <dc:date>2018-03-20T16:18:42Z</dc:date>
    <item>
      <title>If and Match in Script</title>
      <link>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59170#M9817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking to have multiple match conditions in my script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&amp;nbsp; if(match(FNum,'140','150','160','170') and Match(ANum,'*'),1,0)as Absolut_N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The First Match works fine but, the second with * doesn't work. Please, help me on how to include&amp;nbsp; * in a Match condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Sai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 16:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59170#M9817</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2018-03-20T16:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: If and Match in Script</title>
      <link>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59171#M9818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(Match([FNum],'140','150','160','170') and M&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;atch([Anum],'*')&lt;/SPAN&gt;, 'Fnum', Anum)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 16:18:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59171#M9818</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-03-20T16:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: If and Match in Script</title>
      <link>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59172#M9819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If(Match(FNum,'140') and Match(ANum,Chr(42)),1,0) as Absolut_N;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 16:21:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59172#M9819</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2018-03-20T16:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: If and Match in Script</title>
      <link>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59173#M9820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Might want to verify that &lt;STRONG style="color: #3d3d3d; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;[Anum] &lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;is not null. The * matches non-null values. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 16:29:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59173#M9820</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-03-20T16:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: If and Match in Script</title>
      <link>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59174#M9821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both the solutions don't work for me. They give 0 as result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 16:34:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59174#M9821</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2018-03-20T16:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: If and Match in Script</title>
      <link>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59175#M9822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you be more specific with Anum with *&lt;/P&gt;&lt;P&gt;what are you trying to do??&lt;/P&gt;&lt;P&gt;can you explain with sample file??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 16:43:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59175#M9822</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2018-03-20T16:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: If and Match in Script</title>
      <link>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59176#M9823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First things first: what is it that you want to test? And what does your data look like?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 16:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59176#M9823</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-03-20T16:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: If and Match in Script</title>
      <link>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59177#M9824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the possible values for Anum?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 16:43:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59177#M9824</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2018-03-20T16:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: If and Match in Script</title>
      <link>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59178#M9825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; if(match(FNum,'140','150','160','170') ,'Yes',if(Match(ANum,'*'),'No',''))&amp;nbsp; as&amp;nbsp;&amp;nbsp; Newfield &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 16:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59178#M9825</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-03-20T16:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: If and Match in Script</title>
      <link>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59179#M9826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If(Match([FNum],'140','150','160','170'), If(Match([Anum],'*', 1, 0)), -1) as Absolut_N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 16:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59179#M9826</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-03-20T16:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: If and Match in Script</title>
      <link>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59180#M9827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for the suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, for the above mentioned FNum there has to be a ANum selected it can be 10,20,30...100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, i'm looking to generate a field where the FNum is as mentioned above and the ANum can be any slected number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 19:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59180#M9827</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2018-03-20T19:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: If and Match in Script</title>
      <link>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59181#M9828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should use wildmatch for wildcards, may be like this - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(match(FNum,'140','150','160','170') and &lt;STRONG&gt;WildMatch&lt;/STRONG&gt;(ANum,'*'),1,0)as Absolut_N&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 21:20:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59181#M9828</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-03-20T21:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: If and Match in Script</title>
      <link>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59182#M9829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The suggestions above work for me, but just a curious question: Can we not use '=' in script as in SetAnalysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(match(FNum,'140','150','160','170') and ANum="*",&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;1,0) as Absolut_N&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;When i use this is the script, it gives me an Error : Field "*" Not Found.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 07:47:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-and-Match-in-Script/m-p/59182#M9829</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2018-03-21T07:47:26Z</dc:date>
    </item>
  </channel>
</rss>

