<?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: Match Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Match-Function/m-p/57654#M9603</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much... Thanks a lot...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Feb 2018 12:31:57 GMT</pubDate>
    <dc:creator>bharatkishore</dc:creator>
    <dc:date>2018-02-06T12:31:57Z</dc:date>
    <item>
      <title>Match Function</title>
      <link>https://community.qlik.com/t5/QlikView/Match-Function/m-p/57648#M9597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an Entitlement field there i have C,T,W&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have When ever i select C it should show 1 then if i select T is should be 0 then if i select warranty it should show 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Condition i have written is If(Match(Entitlement, 'Contract ', 'T&amp;amp;M', 'Warranty'), 1, 0) as KPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i am getting wrong result for C it is 0 and for T and W it is 1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me where i am doing wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached qvw for more reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 10:19:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-Function/m-p/57648#M9597</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-02-06T10:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Match Function</title>
      <link>https://community.qlik.com/t5/QlikView/Match-Function/m-p/57649#M9598</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;you can try this:&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;STRONG&gt;Pick(Match(Entitlement,'C','T','W'),'1','0','1')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 10:28:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-Function/m-p/57649#M9598</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-02-06T10:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Match Function</title>
      <link>https://community.qlik.com/t5/QlikView/Match-Function/m-p/57650#M9599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bharat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Match(Entitlement, 'Contract','Warranty'), 1, 0) as KPI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 10:29:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-Function/m-p/57650#M9599</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2018-02-06T10:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Match Function</title>
      <link>https://community.qlik.com/t5/QlikView/Match-Function/m-p/57651#M9600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The match function works like this: &lt;/P&gt;&lt;TABLE cellspacing="0" class="TableStyle-tableGrid" style="margin-bottom: 15px; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; margin-right: auto;"&gt;&lt;THEAD style="border-top: 2px solid #0f0f0f;"&gt;&lt;TR class="Head-Header1"&gt;&lt;TH class="HeadI--" style="padding: 5px 7px; text-align: left;"&gt;Example&lt;/TH&gt;&lt;TH class="HeadG--" style="padding: 5px 7px; text-align: left;"&gt;Result&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="border-top-width: 2px; border-top-color: #0f0f0f;"&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyC--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;match( M, 'Jan','Feb','Mar')&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="BodyA--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;P style="font-size: inherit; margin: 0 0 5px;"&gt;returns 2 if M = Feb.&lt;/P&gt;&lt;P style="font-size: inherit; margin: 0 0 5px;"&gt;returns 0 if M = Aprorjan.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;If you want T to be False/0 you should remove it from the match function:&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;if(Match(Entitlement, 'Contract', 'Warranty'),1,0)&lt;/SPAN&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;With this it checks if the Entitlement is matched with one of these values. and returns the number of it. If it does this it wil return true and give 1 with the if statement. If not the if gives 0.&lt;/SPAN&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;Oh and you had a tailing space with the contract string.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 10:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-Function/m-p/57651#M9600</guid>
      <dc:creator>bramkn</dc:creator>
      <dc:date>2018-02-06T10:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Match Function</title>
      <link>https://community.qlik.com/t5/QlikView/Match-Function/m-p/57652#M9601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me where did i miss with my expression and why it is not working.&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>Tue, 06 Feb 2018 10:39:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-Function/m-p/57652#M9601</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-02-06T10:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Match Function</title>
      <link>https://community.qlik.com/t5/QlikView/Match-Function/m-p/57653#M9602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1). While typing you have included a space after "Contract" by mistake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;Match(Entitlement, 'Contrac&lt;STRONG style="color: #ff0000;"&gt;t '&lt;/STRONG&gt;, 'T&amp;amp;M', 'Warranty')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Also your If condition is not correct. Your "If" condition says that If the Entitlement field is match with "Contract" or "T&amp;amp;M" or "Warranty" then KPI should be 0 and for the remaining entitlement it should be 1. That is basically wrong as per your requirement.&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;The condition should be &lt;/SPAN&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: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;If(Match(Entitlement, 'Contract','Warranty'), 1, 0) as KPI &lt;/STRONG&gt;&amp;nbsp; (If Entitlement is "Contract" or "Warranty" then KPI should 1 and for the rest it should be 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope I have explained clearly. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 10:59:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-Function/m-p/57653#M9602</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2018-02-06T10:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Match Function</title>
      <link>https://community.qlik.com/t5/QlikView/Match-Function/m-p/57654#M9603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much... Thanks a lot...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 12:31:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-Function/m-p/57654#M9603</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-02-06T12:31:57Z</dc:date>
    </item>
  </channel>
</rss>

