<?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 condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/954435#M960882</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam also getting strange results means. I could see all the codes&amp;nbsp; gets repeated thrice in each&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Oct 2015 14:26:28 GMT</pubDate>
    <dc:creator>raadwiptec</dc:creator>
    <dc:date>2015-10-23T14:26:28Z</dc:date>
    <item>
      <title>if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/954427#M960874</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;this is my scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if product name contains 'decoder'&amp;nbsp; then 'DC'&lt;/P&gt;&lt;P&gt;if product name contains 'connectorsr'&amp;nbsp; then 'CN' &lt;/P&gt;&lt;P&gt;if product name contains 'capacitorr'&amp;nbsp; then 'CP' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so it should look like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;id ¦ product&amp;nbsp; ¦ category&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; decoder&amp;nbsp; DC&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; connector&amp;nbsp; CN&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp; capacitor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please suggest both on script and expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 13:16:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/954427#M960874</guid>
      <dc:creator>raadwiptec</dc:creator>
      <dc:date>2015-10-23T13:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/954428#M960875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for script -&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(WildMatch(product, '*decoder*', '*connector*', '*capacitor*'), 'DC', 'CN', 'CP') as category&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for expression -&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;=Pick(WildMatch(product, '*decoder*', '*connector*', '*capacitor*'), 'DC', 'CN', 'CP') &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 13:19:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/954428#M960875</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-23T13:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/954429#M960876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;script &lt;/P&gt;&lt;P&gt;if(wildmatch(product , '*decoder*'),'DC' ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(wildmatch(product , '*connector*'),'CN' ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(wildmatch(product , '*cpacitor*'),'CP')) As category&lt;/P&gt;&lt;P&gt;calculated Dimension&lt;/P&gt;&lt;P&gt;aggr(,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;if(wildmatch(product , '*decoder*'),'DC' ,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(wildmatch(product , '*connector*'),'CN' ,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(wildmatch(product , '*cpacitor*'),'CP')),product)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 13:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/954429#M960876</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2015-10-23T13:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/954430#M960877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if this 3 does not match then the condition should be 'not mapped'. how to get that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 13:30:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/954430#M960877</guid>
      <dc:creator>raadwiptec</dc:creator>
      <dc:date>2015-10-23T13:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/954431#M960878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for script:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Pick(WildMatch(product, '*decoder*', '*connector*', '*capacitor*'&lt;SPAN style="color: #ff0000;"&gt;, product&lt;/SPAN&gt;), 'DC', 'CN', 'CP'&lt;SPAN style="color: #ff0000;"&gt;, 'Not Mapped'&lt;/SPAN&gt;) as category&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Pick(WildMatch(product, '*decoder*', '*connector*', '*capacitor*'&lt;SPAN style="color: #ff0000;"&gt;, product&lt;/SPAN&gt;), 'DC', 'CN', 'CP'&lt;SPAN style="color: #ff0000;"&gt;, 'Not Mapped'&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 13:36:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/954431#M960878</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-23T13:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/954432#M960879</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;&lt;STRONG&gt;Pick(WildMatch(product, '*decoder*', '*connector*', '*capacitor*','*'), 'DC', 'CN', 'CP','Not&amp;nbsp; Mapped') as category&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use like this in script .&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;hirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 13:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/954432#M960879</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2015-10-23T13:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/954433#M960880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks sunny just one more question as my data looks little messy..how can I have 2 conditions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if product contains decoder and decoderNew then 'DC'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 13:53:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/954433#M960880</guid>
      <dc:creator>raadwiptec</dc:creator>
      <dc:date>2015-10-23T13:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/954434#M960881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the asterisk next decoder will take care of decoderNew &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 14:05:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/954434#M960881</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-23T14:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/954435#M960882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam also getting strange results means. I could see all the codes&amp;nbsp; gets repeated thrice in each&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 14:26:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/954435#M960882</guid>
      <dc:creator>raadwiptec</dc:creator>
      <dc:date>2015-10-23T14:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/954436#M960883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share your script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 14:27:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/954436#M960883</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-23T14:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/954437#M960884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prodid,&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(WildMatch(product, '*decoder*', '*connector*', '*capacitor*'&lt;SPAN style="color: #ff0000;"&gt;, product&lt;/SPAN&gt;), 'DC', 'CN', 'CP'&lt;SPAN style="color: #ff0000;"&gt;, 'Not Mapped'&lt;/SPAN&gt;) as category&lt;/STRONG&gt;&lt;/SPAN&gt;&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;from&lt;/STRONG&gt;&lt;/SPAN&gt;&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;product.txt .....&lt;/STRONG&gt;&lt;/SPAN&gt;&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;so iam getting the output like this&lt;/STRONG&gt;&lt;/SPAN&gt;&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;id ¦ Product ¦ Category&lt;/STRONG&gt;&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;STRONG&gt;1&amp;nbsp; &lt;STRONG style="color: #3d3d3d; font-family: Helvetica;"&gt;decoder&amp;nbsp; DC&lt;/STRONG&gt;&lt;/STRONG&gt;&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;STRONG&gt;&lt;STRONG style=": ; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;1&amp;nbsp; &lt;STRONG style="color: #3d3d3d; font-family: Helvetica;"&gt;decoder&amp;nbsp; CN&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&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;STRONG&gt;&lt;STRONG style=": ; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;1&amp;nbsp; &lt;STRONG style="color: #3d3d3d; font-family: Helvetica;"&gt;decoder&amp;nbsp; CP&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&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;STRONG&gt;&lt;STRONG style=": ; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;STRONG style=": ; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;1&amp;nbsp; &lt;STRONG style="color: #3d3d3d; font-family: Helvetica;"&gt;decoder&amp;nbsp; Not Mapped&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&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;STRONG&gt;2&amp;nbsp; &lt;STRONG style="color: #3d3d3d; font-family: Helvetica;"&gt;connector&lt;/STRONG&gt; &lt;STRONG style="color: #3d3d3d; font-family: Helvetica;"&gt;DC&lt;/STRONG&gt;&lt;/STRONG&gt;&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;STRONG&gt;&lt;STRONG style=": ; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;2&amp;nbsp; &lt;STRONG style="color: #3d3d3d; font-family: Helvetica;"&gt;connector&lt;/STRONG&gt; &lt;STRONG style="color: #3d3d3d; font-family: Helvetica;"&gt;CN&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&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;STRONG&gt;&lt;STRONG style=": ; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;2&amp;nbsp; &lt;STRONG style="color: #3d3d3d; font-family: Helvetica;"&gt;connector&lt;/STRONG&gt; &lt;STRONG style="color: #3d3d3d; font-family: Helvetica;"&gt;CP&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&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;STRONG&gt;&lt;STRONG style=": ; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;STRONG style=": ; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;2&amp;nbsp; &lt;STRONG style="color: #3d3d3d; font-family: Helvetica;"&gt;connector&lt;/STRONG&gt; &lt;STRONG style="color: #3d3d3d; font-family: Helvetica;"&gt;Not Mapped&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&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;STRONG&gt;&lt;STRONG style=": ; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;STRONG style=": ; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&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;STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 14:43:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/954437#M960884</guid>
      <dc:creator>raadwiptec</dc:creator>
      <dc:date>2015-10-23T14:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/954438#M960885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you doing a join to another table? I don't see Product column in your load from product.txt?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 14:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/954438#M960885</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-23T14:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/954439#M960886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rather than doing at the front end try this at back end (script level). This is fasten your object calculation;&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;if(wildmatch(product, '*decoder*'),'DC' ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(wildmatch(product , '*connector*'),'CN' ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(wildmatch(product, '*capacitor*'),'CP')) As category&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Imran K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 14:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/954439#M960886</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-23T14:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/954440#M960887</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;another solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_188907_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/102971_QlikCommunity_Thread_188907_Pic1.JPG" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_188907_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/102972_QlikCommunity_Thread_188907_Pic2.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_188907_Pic3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/102973_QlikCommunity_Thread_188907_Pic3.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_188907_Pic4.JPG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/102974_QlikCommunity_Thread_188907_Pic4.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14456418031842534" jivemacro_uid="_14456418031842534"&gt;
&lt;P&gt;tabProducts:&lt;/P&gt;
&lt;P&gt;LOAD RecNo() as ID, *&lt;/P&gt;
&lt;P&gt;Inline [&lt;/P&gt;
&lt;P&gt;Product&lt;/P&gt;
&lt;P&gt;decoder&lt;/P&gt;
&lt;P&gt;decoderNew&lt;/P&gt;
&lt;P&gt;someotherdecoder&lt;/P&gt;
&lt;P&gt;somedecoder and Connector&lt;/P&gt;
&lt;P&gt;one connector and another connector&lt;/P&gt;
&lt;P&gt;resistor&lt;/P&gt;
&lt;P&gt;inductor&lt;/P&gt;
&lt;P&gt;any connector&lt;/P&gt;
&lt;P&gt;differentconnector&lt;/P&gt;
&lt;P&gt;connectorOld&lt;/P&gt;
&lt;P&gt;capacitor&lt;/P&gt;
&lt;P&gt;capital CAPACITOR&lt;/P&gt;
&lt;P&gt;veryoldcapacitor&lt;/P&gt;
&lt;P&gt;CapacitorPretendingToBeAConnector&lt;/P&gt;
&lt;P&gt;somethingCompletelyDifferent&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;mapProdCat:&lt;/P&gt;
&lt;P&gt;Mapping LOAD Product, '@start@'&amp;amp;Category&amp;amp;'@end@'&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, Category&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; decoder, DC&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; connector, CN&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; capacitor, CP&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabCategory:&lt;/P&gt;
&lt;P&gt;LOAD Distinct&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TextBetween(MapSubString('mapProdCat', Lower(Product)),'@start@','@end@',IterNo()) as Category&lt;/P&gt;
&lt;P&gt;Resident tabProducts &lt;/P&gt;
&lt;P&gt;While IterNo()&amp;lt;=SubStringCount(MapSubString('mapProdCat', Lower(Product)),'@start@');&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'not mapped' as Category&lt;/P&gt;
&lt;P&gt;Resident tabProducts&lt;/P&gt;
&lt;P&gt;Where IsNull(Lookup('ID','ID',ID,'tabCategory'));&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 23:11:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/954440#M960887</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-10-23T23:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/954441#M960888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no it is product...no other join from other tables...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Oct 2015 18:12:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/954441#M960888</guid>
      <dc:creator>raadwiptec</dc:creator>
      <dc:date>2015-10-25T18:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/954442#M960889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or slightly shorter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14458110406832631 jive_text_macro" jivemacro_uid="_14458110406832631"&gt;
&lt;P&gt;tabProducts:&lt;/P&gt;
&lt;P&gt;LOAD RecNo() as ID, *&lt;/P&gt;
&lt;P&gt;Inline [&lt;/P&gt;
&lt;P&gt;Product&lt;/P&gt;
&lt;P&gt;decoder&lt;/P&gt;
&lt;P&gt;decoderNew&lt;/P&gt;
&lt;P&gt;someotherdecoder&lt;/P&gt;
&lt;P&gt;somedecoder and Connector&lt;/P&gt;
&lt;P&gt;one connector and another connector&lt;/P&gt;
&lt;P&gt;resistor&lt;/P&gt;
&lt;P&gt;inductor&lt;/P&gt;
&lt;P&gt;any connector&lt;/P&gt;
&lt;P&gt;differentconnector&lt;/P&gt;
&lt;P&gt;connectorOld&lt;/P&gt;
&lt;P&gt;capacitor&lt;/P&gt;
&lt;P&gt;capital CAPACITOR&lt;/P&gt;
&lt;P&gt;veryoldcapacitor&lt;/P&gt;
&lt;P&gt;CapacitorPretendingToBeAConnector&lt;/P&gt;
&lt;P&gt;somethingCompletelyDifferent&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;mapProdCat:&lt;/P&gt;
&lt;P&gt;Mapping LOAD Product, '@start@'&amp;amp;Category&amp;amp;'@end@'&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, Category&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; decoder, DC&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; connector, CN&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; capacitor, CP&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabCategory:&lt;/P&gt;
&lt;P&gt;LOAD Distinct&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(SubStringCount(MapSubString('mapProdCat', Lower(Product)),'@start@'),TextBetween(MapSubString('mapProdCat', Lower(Product)),'@start@','@end@',IterNo()),'not mapped') as Category&lt;/P&gt;
&lt;P&gt;Resident tabProducts&lt;/P&gt;
&lt;P&gt;While IterNo()&amp;lt;=RangeMax(SubStringCount(MapSubString('mapProdCat', Lower(Product)),'@start@'),1);&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Oct 2015 22:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/954442#M960889</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-10-25T22:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/954443#M960890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not understand how to use your code. what is "start, "end... etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please show me the script for the columns I requested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 07:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/954443#M960890</guid>
      <dc:creator>raadwiptec</dc:creator>
      <dc:date>2015-10-26T07:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/954444#M960891</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;the resulting data model contains only your specified columns: ID, Product, Category.&lt;/P&gt;&lt;P&gt;'start' and 'end' are just string delimiters to identify the category values inserted into the product string &lt;SPAN style="font-size: 13.3333px;"&gt;by the MapSubString()-function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Post some example application if you need help to integrate this solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 23:55:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/954444#M960891</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-10-28T23:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/954445#M960892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rhanks. I used a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;match(product,'Capacitor','DC')&amp;nbsp; it worked good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 08:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/954445#M960892</guid>
      <dc:creator>raadwiptec</dc:creator>
      <dc:date>2015-10-29T08:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: if condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/1785280#M1209970</link>
      <description>&lt;P&gt;This was super helpful&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 13:27:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/1785280#M1209970</guid>
      <dc:creator>mahendrankr</dc:creator>
      <dc:date>2021-02-23T13:27:01Z</dc:date>
    </item>
  </channel>
</rss>

