<?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: Alternate to Nested if condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternate-to-Nested-if-condition/m-p/929385#M321388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the new field that will be created you want it to be called 'Unknown', if it doesn't match any other names that we listed within WildMatch()?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Nov 2015 09:18:13 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-11-18T09:18:13Z</dc:date>
    <item>
      <title>Alternate to Nested if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-to-Nested-if-condition/m-p/929379#M321382</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;I have nested if condition something like below (too nested).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF (A like 'AZK*' , 'Azzar',&lt;/P&gt;&lt;P&gt;IF (A like 'VDN*' , 'Vodapone',&lt;/P&gt;&lt;P&gt;IF (A like 'WB*' , 'WorldBlue',&lt;/P&gt;&lt;P&gt;IF (A like 'wow*' , 'WOW! Security',&lt;/P&gt;&lt;P&gt;IF (A like 'ZA*' , 'ZoneAlarm',&lt;/P&gt;&lt;P&gt;IF (A like 'ys*' , 'sdgrsw',&lt;/P&gt;&lt;P&gt;'Unknown')))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i use Match or any other function to avoid this nested IF??? for better performance?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 09:05:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-to-Nested-if-condition/m-p/929379#M321382</guid>
      <dc:creator>sridhar_sigired</dc:creator>
      <dc:date>2015-11-18T09:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to Nested if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-to-Nested-if-condition/m-p/929380#M321383</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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Pick(WildMatch(A, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'AZK*', &lt;/SPAN&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'VDN*', 'WB*', 'wow*', 'ZA*', 'ys*', A), &lt;/SPAN&gt;'Azzar', 'Vodapone', 'WorldBlue', 'WOW! Security', 'ZoneAlarm', 'sdgrsw', 'Unknown')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 09:10:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-to-Nested-if-condition/m-p/929380#M321383</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-18T09:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to Nested if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-to-Nested-if-condition/m-p/929381#M321384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pick(WildMatch(A ,'AZK*' , 'VDN*','WB*','wow*','ZA*', 'ys*')&lt;STRONG&gt;+1&lt;/STRONG&gt;,&lt;STRONG&gt; 'Unknown'&lt;/STRONG&gt;, 'Azzar', 'Vodapone','WorldBlue','WOW! Security', 'ZoneAlarm','sdgrsw')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 09:10:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-to-Nested-if-condition/m-p/929381#M321384</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-11-18T09:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to Nested if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-to-Nested-if-condition/m-p/929382#M321385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May i know why we have used +1 here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 09:11:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-to-Nested-if-condition/m-p/929382#M321385</guid>
      <dc:creator>sridhar_sigired</dc:creator>
      <dc:date>2015-11-18T09:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to Nested if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-to-Nested-if-condition/m-p/929383#M321386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If there would be no match, wildmatch() would return 0, otherwise it's match index . By adding 1 to 0, pick() is told to pick the 1st text, i.e- 'Unknown'. For rest of the matched values, position is deferred by 1. Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 09:16:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-to-Nested-if-condition/m-p/929383#M321386</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-11-18T09:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to Nested if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-to-Nested-if-condition/m-p/929384#M321387</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;Unknown used here as for if not else, not to replace as 'A'. Can you clear the confusion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 09:16:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-to-Nested-if-condition/m-p/929384#M321387</guid>
      <dc:creator>sridhar_sigired</dc:creator>
      <dc:date>2015-11-18T09:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to Nested if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-to-Nested-if-condition/m-p/929385#M321388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the new field that will be created you want it to be called 'Unknown', if it doesn't match any other names that we listed within WildMatch()?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 09:18:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-to-Nested-if-condition/m-p/929385#M321388</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-18T09:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to Nested if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-to-Nested-if-condition/m-p/929386#M321389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK Let me try yours and from tresesco. And take the one which is working. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 09:23:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-to-Nested-if-condition/m-p/929386#M321389</guid>
      <dc:creator>sridhar_sigired</dc:creator>
      <dc:date>2015-11-18T09:23:54Z</dc:date>
    </item>
  </channel>
</rss>

