<?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: Error in qlikview -&amp;gt; Error in expression:Too complex, more than 100 levels nesting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-qlikview-gt-Error-in-expression-Too-complex-more-than/m-p/1738641#M452814</link>
    <description>&lt;P&gt;Found one of Sunny's old posts that may have what you need:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Development/Error-in-expression-Too-complex-more-than-100-levels-nesting/m-p/3690" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Development/Error-in-expression-Too-complex-more-than-100-levels-nesting/m-p/3690&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Tue, 25 Aug 2020 20:03:49 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2020-08-25T20:03:49Z</dc:date>
    <item>
      <title>Error in qlikview -&gt; Error in expression:Too complex, more than 100 levels nesting</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-qlikview-gt-Error-in-expression-Too-complex-more-than/m-p/1735930#M452629</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Need help .its very urgent.&lt;/P&gt;&lt;P&gt;I'm using 300 IF statements in the Qlikview load statement and receiving the below error message. I've googled the error message and have read in some blogs and some one stated that there are only 100 IF statements allowed in the load statement and ts the qlik limitation and instead of if need to use pick function.&lt;/P&gt;&lt;P&gt;attached variable . Can you please look into that an send the correct expression which we should use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is mycase.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error while loading.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/39045iDCA33D7E136E6D7B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Error while loading.PNG" alt="Error while loading.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have 3 variables&lt;/P&gt;&lt;P&gt;All the expressions which we are maintaining in one excel file which we are using in script and am not understanding why if(wildmatch added to each one)&lt;/P&gt;&lt;P&gt;attached one variable&amp;nbsp; where am getting the error.&lt;/P&gt;&lt;P&gt;report&amp;nbsp; - used more than 100 IF statements&lt;/P&gt;&lt;P&gt;report1 - used more than 50 if statements&lt;/P&gt;&lt;P&gt;report2- Used more than 20 if statements&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These 3 variables in script we have used like as below .&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;BR /&gt;Data1:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;BR /&gt;$(l.Report) AS %KEY_ReportMgt1,&lt;BR /&gt;$(l.Report1) AS %KEY_ReportMgt2,&lt;BR /&gt;$(l.Report2) AS %KEY_ReportMgt3&lt;BR /&gt;Resident tmp1Data;&lt;/P&gt;&lt;P&gt;DROP Table tmp1Data;&lt;BR /&gt;//Combine 2 Keys&lt;BR /&gt;NoConcatenate&lt;BR /&gt;Data2:&lt;BR /&gt;LOAD *,&lt;BR /&gt;ApplyMap('MAP_GlobalSign',if(not isnull(%KEY_Report1), %KEY_Report1, if(not isnull(%KEY_Report2), %KEY_Report2, %KEY_Report3)),1)*#BAlance&lt;SPAN&gt;&amp;nbsp;AS Balance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ApplyMap('MAP_GlobalSign',if(not isnull(%KEY_Report1), %KEY_Report1, if(not isnull(%KEY_Report2), %KEY_Report2, %KEY_Report3)),1)*#CashFlowAmountT AS #CashFlow,&lt;BR /&gt;if(not isnull(%KEY_Report1), %KEY_Report1,&lt;BR /&gt;if(not isnull(%KEY_Report2), %KEY_Report2, %KEY_Report3)&lt;BR /&gt;) as %KEY_Report&lt;BR /&gt;&lt;BR /&gt;Resident Data1;&lt;/P&gt;&lt;P&gt;DROP Table Data1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can i resolve this issue and it would be great if you help asap.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sonysree&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;- Can you modify my expression with pick and send me back so that i can check.&lt;/P&gt;&lt;P&gt;I tried with pick but not working fine for me as i seen your post in some other post.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Development/Error-in-expression-Too-complex-more-than-100-levels-nesting/m-p/3690" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/QlikView-App-Development/Error-in-expression-Too-complex-more-than-100-levels-nesting/m-p/3690&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 12:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-qlikview-gt-Error-in-expression-Too-complex-more-than/m-p/1735930#M452629</guid>
      <dc:creator>sonysree88</dc:creator>
      <dc:date>2020-08-14T12:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error in qlikview -&gt; Error in expression:Too complex, more than 100 levels nesting</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-qlikview-gt-Error-in-expression-Too-complex-more-than/m-p/1735947#M452631</link>
      <description>&lt;P&gt;Please correct the below expression and send it back please.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 13:15:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-qlikview-gt-Error-in-expression-Too-complex-more-than/m-p/1735947#M452631</guid>
      <dc:creator>sonysree88</dc:creator>
      <dc:date>2020-08-14T13:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error in qlikview -&gt; Error in expression:Too complex, more than 100 levels nesting</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-qlikview-gt-Error-in-expression-Too-complex-more-than/m-p/1735960#M452633</link>
      <description>&lt;P&gt;I think you are running in the totally wrong direction. The idea behind Qlik and any other BI tool is to develop a datamodel of properly associated/linked dimensions/tables which is mostly done by rather generic approaches and not picking/matching any relations with heavily nested if-loops ...&lt;/P&gt;&lt;P&gt;Beside these IMO not too restrictive technically limitations I'm sure that such if-loops needs a lot more efforts to develop and check them as implementing a bit more advanced datamodel with one or two more logically layers.&lt;/P&gt;&lt;P&gt;Further as far as your dataset increased a bit you will get easily performance issues and maintaining it will become a nightmare ... Therefore I suggest to re-think the whole approach.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 13:47:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-qlikview-gt-Error-in-expression-Too-complex-more-than/m-p/1735960#M452633</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-08-14T13:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error in qlikview -&gt; Error in expression:Too complex, more than 100 levels nesting</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-qlikview-gt-Error-in-expression-Too-complex-more-than/m-p/1735997#M452637</link>
      <description>&lt;P&gt;Its working fine earlier. just we did the change in the same expression to add one more if statement thats it for SB.&lt;/P&gt;&lt;P&gt;if you see the last IF statement is that only added as per the enhancement request.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 16:21:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-qlikview-gt-Error-in-expression-Too-complex-more-than/m-p/1735997#M452637</guid>
      <dc:creator>sonysree88</dc:creator>
      <dc:date>2020-08-14T16:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error in qlikview -&gt; Error in expression:Too complex, more than 100 levels nesting</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-qlikview-gt-Error-in-expression-Too-complex-more-than/m-p/1738641#M452814</link>
      <description>&lt;P&gt;Found one of Sunny's old posts that may have what you need:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Development/Error-in-expression-Too-complex-more-than-100-levels-nesting/m-p/3690" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Development/Error-in-expression-Too-complex-more-than-100-levels-nesting/m-p/3690&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 20:03:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-qlikview-gt-Error-in-expression-Too-complex-more-than/m-p/1738641#M452814</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-08-25T20:03:49Z</dc:date>
    </item>
  </channel>
</rss>

