<?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 looping in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-looping/m-p/712718#M1072273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah and also you cannot use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;%PAYCODE&lt;/SPAN&gt; field as it is, outside the load script.&lt;/P&gt;&lt;P&gt;Can you tell what you are trying to do&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Aug 2014 11:33:17 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2014-08-20T11:33:17Z</dc:date>
    <item>
      <title>Error in looping</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-looping/m-p/712714#M1072269</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;Can anybody help me to understand the error in following looping part:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let Vrowcount=NoOfRows('Temp');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i=1 to $(VrowCount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let VAccuCL=if(%PAYCODE &amp;lt;&amp;gt; previous('%PAYCODE'), Accu_CL, peek('ClosingBalance',$(i),'Temp'));&lt;/P&gt;&lt;P&gt;let VCLAccrued=FieldValue('CLA',$(i)); &lt;/P&gt;&lt;P&gt;let VCLclosingbalance=rangesum(if(%PAYCODE &amp;lt;&amp;gt;previous(%PAYCODE),Accu_CL,peek('ClosingBalance',$(i),'Temp')),-$(VCLAccrued));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;next;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 11:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-looping/m-p/712714#M1072269</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-20T11:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error in looping</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-looping/m-p/712715#M1072270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; previous('%PAYCODE') will cause the error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Previous function cannot be used outside of the LOAD statement.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 11:27:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-looping/m-p/712715#M1072270</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2014-08-20T11:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error in looping</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-looping/m-p/712716#M1072271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look into the variable name you are using QlikView Script is case sensitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i=1 to $(&lt;STRONG&gt;VrowCount&lt;/STRONG&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 11:30:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-looping/m-p/712716#M1072271</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2014-08-20T11:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error in looping</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-looping/m-p/712717#M1072272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should I replace it with peek()?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 11:31:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-looping/m-p/712717#M1072272</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-20T11:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error in looping</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-looping/m-p/712718#M1072273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah and also you cannot use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;%PAYCODE&lt;/SPAN&gt; field as it is, outside the load script.&lt;/P&gt;&lt;P&gt;Can you tell what you are trying to do&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 11:33:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-looping/m-p/712718#M1072273</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2014-08-20T11:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error in looping</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-looping/m-p/712719#M1072274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Pradip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help me how I can use these variable at front end?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is $(Variablename)&amp;nbsp; enough?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 11:33:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-looping/m-p/712719#M1072274</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-20T11:33:52Z</dc:date>
    </item>
  </channel>
</rss>

