<?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: Iterno() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Iterno/m-p/1150767#M916518</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to be different&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For(i=1;i&amp;lt;=10 ;i++)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; Some code;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i is the incremental counter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thats how Iterno() also works in a loop like while or for in Qlikview, it will give the current iteration number&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 May 2016 06:57:34 GMT</pubDate>
    <dc:creator>kkkumar82</dc:creator>
    <dc:date>2016-05-16T06:57:34Z</dc:date>
    <item>
      <title>Iterno()</title>
      <link>https://community.qlik.com/t5/QlikView/Iterno/m-p/1150763#M916514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is Iterno()? how it will work please with examples ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mahesh.&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/Iterno/m-p/1150763#M916514</guid>
      <dc:creator>qlikview979</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Iterno()</title>
      <link>https://community.qlik.com/t5/QlikView/Iterno/m-p/1150764#M916515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look here with example&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/CounterFunctions/IterNo.htm" title="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/CounterFunctions/IterNo.htm"&gt;IterNo ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-6311"&gt;Iterno() working with while&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 06:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Iterno/m-p/1150764#M916515</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-05-16T06:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Iterno()</title>
      <link>https://community.qlik.com/t5/QlikView/Iterno/m-p/1150765#M916516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-6311"&gt;Iterno() working with while&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2940"&gt;Creating Reference Dates for Intervals&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/149510"&gt;IterNo(),RecNo(),RowNo()&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 06:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Iterno/m-p/1150765#M916516</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-05-16T06:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Iterno()</title>
      <link>https://community.qlik.com/t5/QlikView/Iterno/m-p/1150766#M916517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Iterno() is nothing but the number of iteration you want to perform to calculate some values. iterno() always work with while statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for eg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID StartDate EndDate&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp; 1/1/2015&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/4/2015&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp; 2/3/2013&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/5/2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now for above data if you wan to fill out the all Dates between StartDate and EndDate to get the Single Date field you can use iterno() like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (StartDate +iterno()-1) as Date,&lt;/P&gt;&lt;P&gt;FROM Table&lt;/P&gt;&lt;P&gt;While &lt;SPAN style="font-size: 13.3333px;"&gt;StartDate +iterno()-1 &amp;lt;= EndDate;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for Each ID , (&lt;SPAN style="font-size: 13.3333px;"&gt;EndDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;- &lt;SPAN style="font-size: 13.3333px;"&gt;StartDate) iteration will be performed to get the Date&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 06:55:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Iterno/m-p/1150766#M916517</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-16T06:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Iterno()</title>
      <link>https://community.qlik.com/t5/QlikView/Iterno/m-p/1150767#M916518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to be different&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For(i=1;i&amp;lt;=10 ;i++)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; Some code;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i is the incremental counter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thats how Iterno() also works in a loop like while or for in Qlikview, it will give the current iteration number&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 06:57:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Iterno/m-p/1150767#M916518</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2016-05-16T06:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Iterno()</title>
      <link>https://community.qlik.com/t5/QlikView/Iterno/m-p/1150768#M916519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Data:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD ID,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (StartDate +iterno()-1) as Date,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM Table&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;While &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;StartDate +iterno()-1 &amp;lt;= EndDate;&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;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&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;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;why we use (-1) in above statements? please explain the execution?&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;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 04:11:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Iterno/m-p/1150768#M916519</guid>
      <dc:creator />
      <dc:date>2017-03-23T04:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Iterno()</title>
      <link>https://community.qlik.com/t5/QlikView/Iterno/m-p/1150769#M916520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let us assume Start Date is 01 - Jan - 2017 End Date is 10-Jan-2016 and we want to have all the dates between &lt;/P&gt;&lt;P&gt;StartDate and EndDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For first iteration if you don' use - 1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it becomes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 02-Jan-2017 as Date&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;While&amp;nbsp; 02-Jan - 2017 &amp;lt;= 10-Jan-2017;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for further iterations you will be getting the dates as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 - Jan - 2017 Iteration 1&lt;/P&gt;&lt;P&gt;3 - Jan -2017&amp;nbsp; Iteration&amp;nbsp; 2&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;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;10 - Jan -2017 Iteration - 9&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you see we are missing 01 - Jan - 2017 Date, I think for the requirement they want 01 - Jan -2017 Date also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope It is clear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But don't ask a question in a corrected answer , pick the code here and point to this thread and start a new thread &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 06:24:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Iterno/m-p/1150769#M916520</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2017-03-23T06:24:15Z</dc:date>
    </item>
  </channel>
</rss>

