<?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: nested If optimization in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/nested-If-optimization/m-p/1302427#M822004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think so. Im having a message error: "allocated memory exceeded". Probably is because de Ifs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Jul 2017 06:27:42 GMT</pubDate>
    <dc:creator>fonsosurfer</dc:creator>
    <dc:date>2017-07-31T06:27:42Z</dc:date>
    <item>
      <title>nested If optimization</title>
      <link>https://community.qlik.com/t5/QlikView/nested-If-optimization/m-p/1302422#M821999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Goog morning!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to optimize an IF statement that I have in a Load. This is my IF expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Grupo1,&lt;/P&gt;&lt;P&gt;Original1,&lt;/P&gt;&lt;P&gt;if(Original1 &amp;lt;&amp;gt; 'Anything',&amp;nbsp; // = 'N/A',&lt;/P&gt;&lt;P&gt;If (substringcount (upper(Grupo1),'N1') &amp;gt; 0, 'N1',&lt;/P&gt;&lt;P&gt;If (substringcount (upper(Grupo1),'N2')&amp;gt;0 or substringcount (upper(Grupo1),'N3')&amp;gt;0 or substringcount (upper(Grupo1),'N4')&amp;gt;0, 'Nsw',&lt;/P&gt;&lt;P&gt;If (substringcount (upper(Grupo1),'OLC') &amp;gt; 0 or substringcount (upper(Grupo1),'LCO') &amp;gt; 0 or substringcount (upper(Grupo1),'IMPL') &amp;gt; 0, 'Implantación'&amp;nbsp;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;If (substringcount (upper(Grupo1),'GESTION DE CAMBIOS') &amp;gt; 0 or substringcount (upper(Grupo1),'GESTIÓN DE CAMBIOS') &amp;gt; 0 &lt;/P&gt;&lt;P&gt;or substringcount (upper(Grupo1),'CHANGE MANAGEMENT') &amp;gt; 0 or substringcount (upper(Grupo1),'SUPPORT &amp;amp; DEPLOYMENT') &amp;gt; 0&lt;/P&gt;&lt;P&gt;or substringcount (upper(Grupo1),'GDC') &amp;gt; 0, 'GGCC'&amp;nbsp;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Otros'&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;,Original1 ) as Nivel1&lt;/P&gt;&lt;P&gt;RESIDENT&lt;/P&gt;&lt;P&gt;TABLA1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!!!&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/nested-If-optimization/m-p/1302422#M821999</guid>
      <dc:creator>fonsosurfer</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: nested If optimization</title>
      <link>https://community.qlik.com/t5/QlikView/nested-If-optimization/m-p/1302423#M822000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the problem with your current IF is it taking lot of time? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 18:26:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/nested-If-optimization/m-p/1302423#M822000</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-07-27T18:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: nested If optimization</title>
      <link>https://community.qlik.com/t5/QlikView/nested-If-optimization/m-p/1302424#M822001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to Use ApplyMap instead .. if you are able to map &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Grupo1 Field to &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-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;N1&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;N2&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;Nsw&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;Implantación&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This would be more efficient and do not have to change the code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 18:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/nested-If-optimization/m-p/1302424#M822001</guid>
      <dc:creator>ziadm</dc:creator>
      <dc:date>2017-07-27T18:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: nested If optimization</title>
      <link>https://community.qlik.com/t5/QlikView/nested-If-optimization/m-p/1302425#M822002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alfonso,&lt;/P&gt;&lt;P&gt;You could try this to see if it's quicker:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Grupo1,&lt;/P&gt;&lt;P&gt;Original1,&lt;/P&gt;&lt;P&gt;if(Original1 &amp;lt;&amp;gt; 'Anything',&amp;nbsp; // = 'N/A',&lt;/P&gt;&lt;P&gt;Pick(1+Wildmatch(upper(Grupo1),'*N1*','*N2*','*N3*','*N4*','*OLC*','*LCO*','*IMPL*','*GESTION DE CAMBIOS*','*GESTIÓN DE CAMBIOS*','*CHANGE MANAGEMENT*','*SUPPORT &amp;amp; DEPLOYMENT*','GGCC'),&lt;/P&gt;&lt;P&gt;'Otros','N1','Nsw','Nsw','Nsw','Nsw', 'Implantación', 'Implantación', 'Implantación', 'GGCC', 'GGCC', 'GGCC', 'GGCC', 'GGCC')&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;,Original1 ) as Nivel1&lt;/P&gt;&lt;P&gt;RESIDENT&lt;/P&gt;&lt;P&gt;TABLA1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 19:16:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/nested-If-optimization/m-p/1302425#M822002</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-27T19:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: nested If optimization</title>
      <link>https://community.qlik.com/t5/QlikView/nested-If-optimization/m-p/1302426#M822003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can share the sample data, it will be helpful to give you more optimized way to do this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 07:42:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/nested-If-optimization/m-p/1302426#M822003</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-07-28T07:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: nested If optimization</title>
      <link>https://community.qlik.com/t5/QlikView/nested-If-optimization/m-p/1302427#M822004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think so. Im having a message error: "allocated memory exceeded". Probably is because de Ifs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 06:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/nested-If-optimization/m-p/1302427#M822004</guid>
      <dc:creator>fonsosurfer</dc:creator>
      <dc:date>2017-07-31T06:27:42Z</dc:date>
    </item>
  </channel>
</rss>

