<?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 Limit date going forward in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Limit-date-going-forward/m-p/337839#M124599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to calculate date range moving forward. Currently I have data for current date and need to limit it to max of 6 months. I am making use of where Datefield&amp;lt;=AddMonths(Today(),6). The problem is currently I have data for Day1 and will keep adding data. Once the maxdate is reached the mindate should move to the next date. I am not sure how to accomplish this. Any help/suggestions is greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Aug 2012 21:05:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-08-03T21:05:17Z</dc:date>
    <item>
      <title>Limit date going forward</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-date-going-forward/m-p/337839#M124599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to calculate date range moving forward. Currently I have data for current date and need to limit it to max of 6 months. I am making use of where Datefield&amp;lt;=AddMonths(Today(),6). The problem is currently I have data for Day1 and will keep adding data. Once the maxdate is reached the mindate should move to the next date. I am not sure how to accomplish this. Any help/suggestions is greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 21:05:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-date-going-forward/m-p/337839#M124599</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-03T21:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Limit date going forward</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-date-going-forward/m-p/337840#M124600</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do you mean you want to look at only the latest 6 months Data? If yes then the logic is as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; your datefield &amp;gt; = monthstart(addmonths(today(),-6))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Aug 2012 06:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-date-going-forward/m-p/337840#M124600</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2012-08-04T06:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Limit date going forward</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-date-going-forward/m-p/337841#M124601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kaushik for getting back.The logic you have mentioned can be used once I reach the 6 month data. Currently I am having Day1 data and if I use this now then it would reload from today's system date moving forward, as I do a daily reload this logic will fail. Hope I am making some sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Aug 2012 11:20:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-date-going-forward/m-p/337841#M124601</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-04T11:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Limit date going forward</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-date-going-forward/m-p/337842#M124602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any ideas? Anyone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 15:11:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-date-going-forward/m-p/337842#M124602</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-07T15:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Limit date going forward</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-date-going-forward/m-p/337843#M124603</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;&amp;nbsp;&amp;nbsp; The logic will work because it says that the table or chart should have data from six month back from today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If you want to restrict the data at load time you can try something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Load Field1, Field2, Field3....&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; From XYZ&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where DateField &amp;gt;= Monthstart(Addmonths(today(),-6));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Here the expression Monthstart(Addmonths(today(),-6)) will return 1/2/2012. And in where clause you are saying that load the data where the Datefield is Greater than 1/2/2012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; So even though you are starting the data load from today it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Hope the idea is clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 17:13:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-date-going-forward/m-p/337843#M124603</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2012-08-07T17:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Limit date going forward</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-date-going-forward/m-p/337844#M124604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kaushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the logic now, I was seeing it in differently. Thanks for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 13:37:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-date-going-forward/m-p/337844#M124604</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-08T13:37:24Z</dc:date>
    </item>
  </channel>
</rss>

