<?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 Looping between months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Looping-between-months/m-p/1088295#M638811</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the sales of 10 stores saved in a table for every month; in other words, in table Sales1601 there are the sales that the 10 stores made in January '16, in table Sales1602 there are the sales that the 10 stores made in February '16, in table Sales1501 there are the sales that the 10 stores made in January '15 exc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to have a script that's able to read the current month(Ex: March) and load all the data referring to the previous months (February and January), for the current year and also for the previous year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone knows how to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2016 14:05:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-03-16T14:05:26Z</dc:date>
    <item>
      <title>Looping between months</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-between-months/m-p/1088295#M638811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the sales of 10 stores saved in a table for every month; in other words, in table Sales1601 there are the sales that the 10 stores made in January '16, in table Sales1602 there are the sales that the 10 stores made in February '16, in table Sales1501 there are the sales that the 10 stores made in January '15 exc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to have a script that's able to read the current month(Ex: March) and load all the data referring to the previous months (February and January), for the current year and also for the previous year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone knows how to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 14:05:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-between-months/m-p/1088295#M638811</guid>
      <dc:creator />
      <dc:date>2016-03-16T14:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Looping between months</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-between-months/m-p/1088296#M638812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can use expression as&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Date={'&amp;gt;$(=MonthStart(Addmonths(Max(Date),-2)))'}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 06:12:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-between-months/m-p/1088296#M638812</guid>
      <dc:creator>amayuresh</dc:creator>
      <dc:date>2016-03-17T06:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Looping between months</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-between-months/m-p/1088297#M638813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Today() function to get current month year in required format. eg:&lt;/P&gt;&lt;P&gt;Date(Today(),'YYMM') which will return 1603&lt;/P&gt;&lt;P&gt;use loop to get all the numbers associated with tables like 1501,1601,1602 etc which are lessthan current month year number &amp;amp; inner loop use these number to fetch data from specific tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 06:35:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-between-months/m-p/1088297#M638813</guid>
      <dc:creator>manojkulkarni</dc:creator>
      <dc:date>2016-03-17T06:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Looping between months</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-between-months/m-p/1088298#M638814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain what you're trying to do? Do you want to load source data into the qlikview document? Or have you already loaded the data in the qlikview document and are you asking about creating an expression for a chart?&lt;/P&gt;&lt;P&gt;Can you post a small qlikview document that demonstrates the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 07:18:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-between-months/m-p/1088298#M638814</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-17T07:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Looping between months</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-between-months/m-p/1088299#M638815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;I want to load source data into the qlik document.&lt;/P&gt;&lt;P&gt;I don't know how to "write" the script in order to load all the months before the actual.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 08:35:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-between-months/m-p/1088299#M638815</guid>
      <dc:creator />
      <dc:date>2016-03-17T08:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Looping between months</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-between-months/m-p/1088300#M638816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * FROM mysource WHERE Date &amp;lt; today();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 14:55:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-between-months/m-p/1088300#M638816</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-17T14:55:31Z</dc:date>
    </item>
  </channel>
</rss>

