<?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: Alternative for if statement also to be written in script while it is used in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternative-for-if-statement-also-to-be-written-in-script-while/m-p/1186469#M885770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the references given here: &lt;A href="https://community.qlik.com/thread/188475"&gt;Why is using Pick and Match functions combination thought to be faster than nested IF statements?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2016 11:10:17 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2016-09-16T11:10:17Z</dc:date>
    <item>
      <title>Alternative for if statement also to be written in script while it is used in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-for-if-statement-also-to-be-written-in-script-while/m-p/1186468#M885769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=if(&lt;SPAN style="font-size: 13.3333px;"&gt;PG&lt;/SPAN&gt;='M'&lt;/P&gt;&lt;P&gt;or &lt;SPAN style="font-size: 13.3333px;"&gt;PG&lt;/SPAN&gt;='P others'&lt;/P&gt;&lt;P&gt;or &lt;SPAN style="font-size: 13.3333px;"&gt;PG&lt;/SPAN&gt;='NE'&lt;/P&gt;&lt;P&gt;or &lt;SPAN style="font-size: 13.3333px;"&gt;PG&lt;/SPAN&gt;='PE'&lt;/P&gt;&lt;P&gt;or &lt;SPAN style="font-size: 13.3333px;"&gt;PG&lt;/SPAN&gt;='HC'&lt;/P&gt;&lt;P&gt;or &lt;SPAN style="font-size: 13.3333px;"&gt;PG&lt;/SPAN&gt;='EC'&lt;/P&gt;&lt;P&gt;or &lt;SPAN style="font-size: 13.3333px;"&gt;PG&lt;/SPAN&gt;='FOOD'&lt;/P&gt;&lt;P&gt;or &lt;SPAN style="font-size: 13.3333px;"&gt;PG&lt;/SPAN&gt;='BIO'&lt;/P&gt;&lt;P&gt;or &lt;SPAN style="font-size: 13.3333px;"&gt;PG&lt;/SPAN&gt;='DIS&lt;/P&gt;&lt;P&gt;or &lt;SPAN style="font-size: 13.3333px;"&gt;PG&lt;/SPAN&gt;='SB'&lt;/P&gt;&lt;P&gt;or &lt;SPAN style="font-size: 13.3333px;"&gt;PG&lt;/SPAN&gt;='Ca'&lt;/P&gt;&lt;P&gt;or &lt;SPAN style="font-size: 13.3333px;"&gt;PG&lt;/SPAN&gt;='PH&lt;/P&gt;&lt;P&gt;or &lt;SPAN style="font-size: 13.3333px;"&gt;PG&lt;/SPAN&gt;='PRO'&lt;/P&gt;&lt;P&gt;or &lt;SPAN style="font-size: 13.3333px;"&gt;PG&lt;/SPAN&gt;='SEYO',dual('Others',26),&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="font-size: 13.3333px;"&gt;PG&lt;/SPAN&gt;='CP',dual('CPS',12),&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="font-size: 13.3333px;"&gt;PG&lt;/SPAN&gt;='PC',dual('PCS',10),&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="font-size: 13.3333px;"&gt;PG&lt;/SPAN&gt;='VC',dual('VCS',11),&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="font-size: 13.3333px;"&gt;PG&lt;/SPAN&gt;='ALL',null(),PG)))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-for-if-statement-also-to-be-written-in-script-while/m-p/1186468#M885769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative for if statement also to be written in script while it is used in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-for-if-statement-also-to-be-written-in-script-while/m-p/1186469#M885770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the references given here: &lt;A href="https://community.qlik.com/thread/188475"&gt;Why is using Pick and Match functions combination thought to be faster than nested IF statements?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 11:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-for-if-statement-also-to-be-written-in-script-while/m-p/1186469#M885770</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-09-16T11:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative for if statement also to be written in script while it is used in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-for-if-statement-also-to-be-written-in-script-while/m-p/1186470#M885771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be 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;=If(Match(&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;PG, &lt;/SPAN&gt;'M', &lt;SPAN style="line-height: 1.5em;"&gt;'P others', &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;'NE', &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;'PE', &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;'HC', &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;'EC', &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;'FOOD', &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;'BIO', &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;'DIS, &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;'SB', &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;'Ca', &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;'PH', &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;'PRO', &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;'SEYO', Dual('Others',26), &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG&gt;Pick(Match(&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;PG, &lt;/SPAN&gt;'CP', 'PC', 'VC', 'ALL') + 1, PG, Dual('CPS',12), Dual('PCS', 10), D&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;ual('VCS',11), Null()))&lt;/STRONG&gt;&lt;/SPAN&gt;&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;or&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;&lt;STRONG&gt;If(Match(&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;PG, &lt;/SPAN&gt;'M', 'P others', 'NE', 'PE', 'HC', 'EC', 'FOOD', 'BIO', 'DIS, 'SB', 'Ca', 'PH', 'PRO', 'SEYO', Dual('Others',26), &lt;/STRONG&gt;&lt;STRONG&gt;Pick(Match(&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;PG, &lt;/SPAN&gt;'CP', 'PC', 'VC', 'ALL') + 1, PG, Dual('CPS',12), Dual('PCS', 10), D&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;ual('VCS',11), Null())) as NewPG&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 11:24:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-for-if-statement-also-to-be-written-in-script-while/m-p/1186470#M885771</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-16T11:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative for if statement also to be written in script while it is used in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-for-if-statement-also-to-be-written-in-script-while/m-p/1186471#M885772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why you use +1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2016 06:45:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-for-if-statement-also-to-be-written-in-script-while/m-p/1186471#M885772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-23T06:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative for if statement also to be written in script while it is used in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alternative-for-if-statement-also-to-be-written-in-script-while/m-p/1186472#M885773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For when it doesn't meet the criteria, the match will give 0 and then adding 1 to will give the value associated with PG. and then all the values within Match will increment by 1 for pick to do its job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(Match(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;PG, &lt;/SPAN&gt;'M', 'P others', 'NE', 'PE', 'HC', 'EC', 'FOOD', 'BIO', 'DIS, 'SB', 'Ca', 'PH', 'PRO', 'SEYO', Dual('Others',26), &lt;/STRONG&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Pick(Match(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;PG, &lt;/SPAN&gt;'CP', 'PC', 'VC', 'ALL') + 1&lt;/SPAN&gt;, &lt;SPAN style="color: #ff00ff;"&gt;PG&lt;/SPAN&gt;, Dual('CPS',12), Dual('PCS', 10), D&lt;/STRONG&gt;&lt;SPAN 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;ual('VCS',11), Null())) as NewPG&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2016 07:20:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternative-for-if-statement-also-to-be-written-in-script-while/m-p/1186472#M885773</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-23T07:20:46Z</dc:date>
    </item>
  </channel>
</rss>

