<?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 Script help???? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/1006991#M341950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking for below logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Category 3&amp;nbsp; to be ends with&amp;nbsp; %ECC_BEL then show Incident,&lt;/P&gt;&lt;P&gt;If Category 3 to be ends with %BEL_C then show&amp;nbsp; Change,&lt;/P&gt;&lt;P&gt;If Category 3 is null or – then Category 2 = Unclassified&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying something like below , but how to check this condition only at end .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example in this case if Category 3 = OTHERS_MMPP_ECC_BEL_C then output should be Change , but with below expression I'm getting output this as Incident.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(wildmatch(CAT_ID, '*ECC_BEL*'),'Incident',if(wildmatch(CAT_ID, '*BEL_C*'),'Change','Unclassified')) as Category2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Oct 2015 10:04:33 GMT</pubDate>
    <dc:creator>amit_saini</dc:creator>
    <dc:date>2015-10-19T10:04:33Z</dc:date>
    <item>
      <title>Script help????</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/1006991#M341950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking for below logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Category 3&amp;nbsp; to be ends with&amp;nbsp; %ECC_BEL then show Incident,&lt;/P&gt;&lt;P&gt;If Category 3 to be ends with %BEL_C then show&amp;nbsp; Change,&lt;/P&gt;&lt;P&gt;If Category 3 is null or – then Category 2 = Unclassified&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying something like below , but how to check this condition only at end .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example in this case if Category 3 = OTHERS_MMPP_ECC_BEL_C then output should be Change , but with below expression I'm getting output this as Incident.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(wildmatch(CAT_ID, '*ECC_BEL*'),'Incident',if(wildmatch(CAT_ID, '*BEL_C*'),'Change','Unclassified')) as Category2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 10:04:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help/m-p/1006991#M341950</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2015-10-19T10:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Script help????</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/1006992#M341951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Pick(wildmatch(CAT_ID, '*ECC_BEL','*BEL_C')&lt;STRONG&gt;+1&lt;/STRONG&gt;,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;'Unclassified',&lt;/STRONG&gt; &lt;/SPAN&gt;'Incident', 'Change') as Category2&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;Or just remove the last '*' from your expression comparison string like,&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;if(wildmatch(CAT_ID, '*ECC_BEL'),'Incident',if(wildmatch(CAT_ID, '*BEL_C'),'Change','Unclassified')) as Category2&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 10:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help/m-p/1006992#M341951</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-10-19T10:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Script help????</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/1006993#M341952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And if you got some spare time, please read these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/docs/DOC-2380" title="http://community.qlik.com/docs/DOC-2380"&gt;QlikCommunity Tip: How to get answers to your p... | Qlik Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-7538"&gt;Qlik Community Tip: Posting Successful Discussion Threads&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can make this discussion useful for other people as well by using a descriptive title and adding search tags.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 10:25:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help/m-p/1006993#M341952</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-10-19T10:25:43Z</dc:date>
    </item>
  </channel>
</rss>

