<?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: setting date range in the app qvd layer in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/setting-date-range-in-the-app-qvd-layer/m-p/1351326#M845515</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vFromDateStart = Date('2007-01-01');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vFromDateFinish = Date(MonthStart(AddMonths(Today(),36)),'YYYY-MM-DD'); or&lt;/P&gt;&lt;P&gt;LET vFromDateFinish = Date(AddMonths(Today(),36),'YYYY-MM-DD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in code of script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Field date] &amp;gt;= $(&lt;SPAN style="font-size: 13.3333px;"&gt;vFromDateStart &lt;/SPAN&gt;) And &lt;SPAN style="font-size: 13.3333px;"&gt;[Field date] &amp;lt;= $(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vFromDateFinish &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Apr 2017 06:39:24 GMT</pubDate>
    <dc:creator>ahaahaaha</dc:creator>
    <dc:date>2017-04-06T06:39:24Z</dc:date>
    <item>
      <title>setting date range in the app qvd layer</title>
      <link>https://community.qlik.com/t5/QlikView/setting-date-range-in-the-app-qvd-layer/m-p/1351323#M845512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an urgent query regarding limiting the range wrt to the dates in the QVD layer.&lt;/P&gt;&lt;P&gt;right now i am using&lt;/P&gt;&lt;P&gt;LET vFromDate = Date(MonthStart(AddMonths(Today(),-122)),'YYYY-MM-DD') in the setup sheet &lt;/P&gt;&lt;P&gt;it limits the data from a certain date to the present date in the orders qvd and also in the calendars.&lt;/P&gt;&lt;P&gt;But i need to show the data from 2007 to 3years from the present date.&lt;/P&gt;&lt;P&gt;How do i update the expression?&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Jaya&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/setting-date-range-in-the-app-qvd-layer/m-p/1351323#M845512</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: setting date range in the app qvd layer</title>
      <link>https://community.qlik.com/t5/QlikView/setting-date-range-in-the-app-qvd-layer/m-p/1351324#M845513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean to say Data should start from 01/01/2017 to 06/04/2020? (i.e. Today 06/04/2017)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 06:28:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-date-range-in-the-app-qvd-layer/m-p/1351324#M845513</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-04-06T06:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: setting date range in the app qvd layer</title>
      <link>https://community.qlik.com/t5/QlikView/setting-date-range-in-the-app-qvd-layer/m-p/1351325#M845514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Manish,&lt;/P&gt;&lt;P&gt;The data should start from Jan 2007 to april 2020(3 years ahead of present date).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 06:34:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-date-range-in-the-app-qvd-layer/m-p/1351325#M845514</guid>
      <dc:creator />
      <dc:date>2017-04-06T06:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: setting date range in the app qvd layer</title>
      <link>https://community.qlik.com/t5/QlikView/setting-date-range-in-the-app-qvd-layer/m-p/1351326#M845515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vFromDateStart = Date('2007-01-01');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vFromDateFinish = Date(MonthStart(AddMonths(Today(),36)),'YYYY-MM-DD'); or&lt;/P&gt;&lt;P&gt;LET vFromDateFinish = Date(AddMonths(Today(),36),'YYYY-MM-DD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in code of script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Field date] &amp;gt;= $(&lt;SPAN style="font-size: 13.3333px;"&gt;vFromDateStart &lt;/SPAN&gt;) And &lt;SPAN style="font-size: 13.3333px;"&gt;[Field date] &amp;lt;= $(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vFromDateFinish &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 06:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-date-range-in-the-app-qvd-layer/m-p/1351326#M845515</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-04-06T06:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: setting date range in the app qvd layer</title>
      <link>https://community.qlik.com/t5/QlikView/setting-date-range-in-the-app-qvd-layer/m-p/1351327#M845516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vStartDate = monthname('01/01/2007');&lt;/P&gt;&lt;P&gt;Let vEndDate = MonthName(AddYears(Today(),3)) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then limit your data based on these 2 variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg: load *&lt;/P&gt;&lt;P&gt;from a.qvd&lt;/P&gt;&lt;P&gt;where Date_Monthname&amp;gt;=$(vStartDate) and Date_Monthname&amp;lt;=$(vEndDate);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 06:39:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-date-range-in-the-app-qvd-layer/m-p/1351327#M845516</guid>
      <dc:creator>saimahasan</dc:creator>
      <dc:date>2017-04-06T06:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: setting date range in the app qvd layer</title>
      <link>https://community.qlik.com/t5/QlikView/setting-date-range-in-the-app-qvd-layer/m-p/1351328#M845517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Then set analysis may be this. Make sure, The DateField and Today format should same&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;DateField = {"&amp;gt;=$(=YearStart(Today())) &amp;lt;= $(=AddYears(DateField, 3))"}&amp;gt;}Sales)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 06:41:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-date-range-in-the-app-qvd-layer/m-p/1351328#M845517</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-04-06T06:41:57Z</dc:date>
    </item>
  </channel>
</rss>

