<?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: While Extracting Data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/While-Extracting-Data/m-p/655136#M1072556</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nihhal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FOR index = 0 TO 5&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LET vMonth=date(Monthstart(today(), -index), 'YYYYMM');&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; load * from sales_$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vMonth&lt;/SPAN&gt;).qvd (qvd);&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NEXT&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Aug 2014 04:31:41 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2014-08-12T04:31:41Z</dc:date>
    <item>
      <title>While Extracting Data</title>
      <link>https://community.qlik.com/t5/QlikView/While-Extracting-Data/m-p/655131#M1072550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to extract last 6 months data from source (source has may files like sales_201301, sales_201302............).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose i want to get all files at a time i can do but i want to extract latest 6 files dynamically, please let me know how can i achieve this task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nihhal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 13:30:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-Extracting-Data/m-p/655131#M1072550</guid>
      <dc:creator>nihhalmca</dc:creator>
      <dc:date>2014-08-11T13:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: While Extracting Data</title>
      <link>https://community.qlik.com/t5/QlikView/While-Extracting-Data/m-p/655132#M1072551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM sales_*;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 13:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-Extracting-Data/m-p/655132#M1072551</guid>
      <dc:creator />
      <dc:date>2014-08-11T13:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: While Extracting Data</title>
      <link>https://community.qlik.com/t5/QlikView/While-Extracting-Data/m-p/655133#M1072552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for last 6 months files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let thismonth=date(today(), 'YYYYMM');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i=1 to 6&lt;/P&gt;&lt;P&gt;&amp;nbsp; trace $(thismonth);&lt;/P&gt;&lt;P&gt;&amp;nbsp; load * from sales_$(thismonth).qvd (qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp; // subtract a month&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET thismonth = date(AddMonths(Date#($(thismonth) &amp;amp; '01', 'YYYYMMDD'), -1), 'YYYYMM');&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 13:40:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-Extracting-Data/m-p/655133#M1072552</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-08-11T13:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: While Extracting Data</title>
      <link>https://community.qlik.com/t5/QlikView/While-Extracting-Data/m-p/655134#M1072553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your script take all files.&lt;/P&gt;&lt;P&gt;i want to load only last 6.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 14:38:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-Extracting-Data/m-p/655134#M1072553</guid>
      <dc:creator>nihhalmca</dc:creator>
      <dc:date>2014-08-11T14:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: While Extracting Data</title>
      <link>https://community.qlik.com/t5/QlikView/While-Extracting-Data/m-p/655135#M1072554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it, check out the solution provided by &lt;A href="https://community.qlik.com/qlik-users/10670"&gt;Massimo Grossi&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 15:18:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-Extracting-Data/m-p/655135#M1072554</guid>
      <dc:creator />
      <dc:date>2014-08-11T15:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: While Extracting Data</title>
      <link>https://community.qlik.com/t5/QlikView/While-Extracting-Data/m-p/655136#M1072556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nihhal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FOR index = 0 TO 5&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LET vMonth=date(Monthstart(today(), -index), 'YYYYMM');&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; load * from sales_$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vMonth&lt;/SPAN&gt;).qvd (qvd);&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NEXT&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 04:31:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-Extracting-Data/m-p/655136#M1072556</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-08-12T04:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: While Extracting Data</title>
      <link>https://community.qlik.com/t5/QlikView/While-Extracting-Data/m-p/655137#M1072559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you mean to type "&lt;STRONG&gt;- &lt;/STRONG&gt;index" for offset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LET vMonth=date(Monthstart(today(), &lt;STRONG&gt;-&lt;/STRONG&gt; index), 'YYYYMM');&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;-Rob&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 04:42:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-Extracting-Data/m-p/655137#M1072559</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-08-12T04:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: While Extracting Data</title>
      <link>https://community.qlik.com/t5/QlikView/While-Extracting-Data/m-p/655138#M1072562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good catch, missed - symbol updated in the post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 05:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-Extracting-Data/m-p/655138#M1072562</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-08-12T05:29:14Z</dc:date>
    </item>
  </channel>
</rss>

