<?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 for loop in qlikview with dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/for-loop-in-qlikview-with-dates/m-p/429539#M695625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have to do an extraction with date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have right now something like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it didnt work qlikview didnt show me errors and i dont know what happends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET y=Today();&lt;/P&gt;&lt;P&gt;FOR i=Date('01/01/2012','DD/MM/YYYY') to $(y)&lt;/P&gt;&lt;P&gt;Cartera_COP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Query Statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE * FROM Cartera_COP into ../01_Datos/Cartera_COP_$(i).qvd;&lt;/P&gt;&lt;P&gt;DROP Table Cartera_COP;&lt;/P&gt;&lt;P&gt;NEXT i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how i can do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Apr 2013 23:20:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-07T23:20:34Z</dc:date>
    <item>
      <title>for loop in qlikview with dates</title>
      <link>https://community.qlik.com/t5/QlikView/for-loop-in-qlikview-with-dates/m-p/429539#M695625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have to do an extraction with date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have right now something like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it didnt work qlikview didnt show me errors and i dont know what happends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET y=Today();&lt;/P&gt;&lt;P&gt;FOR i=Date('01/01/2012','DD/MM/YYYY') to $(y)&lt;/P&gt;&lt;P&gt;Cartera_COP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Query Statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE * FROM Cartera_COP into ../01_Datos/Cartera_COP_$(i).qvd;&lt;/P&gt;&lt;P&gt;DROP Table Cartera_COP;&lt;/P&gt;&lt;P&gt;NEXT i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how i can do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Apr 2013 23:20:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/for-loop-in-qlikview-with-dates/m-p/429539#M695625</guid>
      <dc:creator />
      <dc:date>2013-04-07T23:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: for loop in qlikview with dates</title>
      <link>https://community.qlik.com/t5/QlikView/for-loop-in-qlikview-with-dates/m-p/429540#M695626</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;This should do the trick:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;FOR i=Date&lt;STRONG&gt;#&lt;/STRONG&gt;('01/01/2012','DD/MM/YYYY') to $(y)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Hope that helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Jonathan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2013 10:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/for-loop-in-qlikview-with-dates/m-p/429540#M695626</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-04-08T10:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: for loop in qlikview with dates</title>
      <link>https://community.qlik.com/t5/QlikView/for-loop-in-qlikview-with-dates/m-p/429541#M695627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; font-size: 12.800002098083496px; color: #737373; font-family: Arial;"&gt;Hi ,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.800002098083496px; color: #737373; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try the below code ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.800002098083496px; color: #737373; font-family: Arial;"&gt;Let TodayDate = fabs(Today());&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.800002098083496px; color: #737373; font-family: Arial;"&gt;Let FromDate=fabs( Date('01/01/2012','DD/MM/YYYY'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.800002098083496px; color: #737373; font-family: Arial;"&gt;Cartera_COP:&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.800002098083496px; color: #737373; font-family: Arial;"&gt;LOAD&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.800002098083496px; color: #737373; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date($(FromDate)+recno()-1, 'DD/MM/YYYY') as "Date"&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.800002098083496px; color: #737373; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AUTOGENERATE $(TodayDate)-$(FromDate)+1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.800002098083496px; color: #737373; font-family: Arial;"&gt;Please let me know if there is anything .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2013 17:55:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/for-loop-in-qlikview-with-dates/m-p/429541#M695627</guid>
      <dc:creator />
      <dc:date>2013-04-08T17:55:50Z</dc:date>
    </item>
  </channel>
</rss>

