<?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: Select dates 3 months from today' date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-dates-3-months-from-today-date/m-p/1165669#M893410</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;Do you need&amp;nbsp;&amp;nbsp; NEXT three months or&amp;nbsp;&amp;nbsp; PREVIOUS three months ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI&amp;nbsp; : I can not analyse&amp;nbsp; your date formats&amp;nbsp; ;;; DD/MM/YYYY or MM/DD/YYYY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Aug 2016 14:47:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-08-10T14:47:52Z</dc:date>
    <item>
      <title>Select dates 3 months from today' date</title>
      <link>https://community.qlik.com/t5/QlikView/Select-dates-3-months-from-today-date/m-p/1165665#M893406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - i am creating a text object/kpi object and wish to count the number of records which have a date associated which is within 2 months of todays date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10/08/2015&lt;/P&gt;&lt;P&gt;11/12/2016&lt;/P&gt;&lt;P&gt;10/08/2016&lt;/P&gt;&lt;P&gt;10/09/2016&lt;/P&gt;&lt;P&gt;11/09/2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would expect it to filter the following dates:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;10/08/2016&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;10/09/2016&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;11/09/2016&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I am ok deriving a new date from the original date but cant figure this one out! &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks!&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/Select-dates-3-months-from-today-date/m-p/1165665#M893406</guid>
      <dc:creator>martin_hamilton</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Select dates 3 months from today' date</title>
      <link>https://community.qlik.com/t5/QlikView/Select-dates-3-months-from-today-date/m-p/1165666#M893407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest using a set analysis here. If say your current expression for KPI is Sum(Sales), you can not try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;DateField = {"$('&amp;gt;=' &amp;amp; Date(AddMonths(Today(), -2), 'DD/MM/YYYY'))"}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if you date is DD/MM/YYYY or MM/DD/YYYY, but use the right format in the above expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 14:36:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-dates-3-months-from-today-date/m-p/1165666#M893407</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-10T14:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Select dates 3 months from today' date</title>
      <link>https://community.qlik.com/t5/QlikView/Select-dates-3-months-from-today-date/m-p/1165667#M893408</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 am not getting ur ouput&lt;/P&gt;&lt;P&gt;can you give me more explanation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 14:36:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-dates-3-months-from-today-date/m-p/1165667#M893408</guid>
      <dc:creator />
      <dc:date>2016-08-10T14:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Select dates 3 months from today' date</title>
      <link>https://community.qlik.com/t5/QlikView/Select-dates-3-months-from-today-date/m-p/1165668#M893409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am actually just after a count of records where the dates match the selection criteria i.e. within the next 2 months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would a COUNT work here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file is keyed by an unique ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this will work but am in the process of testing it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count([Contract End Date])&amp;gt;=Today() -2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 14:46:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-dates-3-months-from-today-date/m-p/1165668#M893409</guid>
      <dc:creator>martin_hamilton</dc:creator>
      <dc:date>2016-08-10T14:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Select dates 3 months from today' date</title>
      <link>https://community.qlik.com/t5/QlikView/Select-dates-3-months-from-today-date/m-p/1165669#M893410</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;Do you need&amp;nbsp;&amp;nbsp; NEXT three months or&amp;nbsp;&amp;nbsp; PREVIOUS three months ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI&amp;nbsp; : I can not analyse&amp;nbsp; your date formats&amp;nbsp; ;;; DD/MM/YYYY or MM/DD/YYYY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 14:47:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-dates-3-months-from-today-date/m-p/1165669#M893410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-10T14:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Select dates 3 months from today' date</title>
      <link>https://community.qlik.com/t5/QlikView/Select-dates-3-months-from-today-date/m-p/1165670#M893411</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;the date formats are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DD/MM/YYYY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be looking for a date within the next 3 months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 14:52:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-dates-3-months-from-today-date/m-p/1165670#M893411</guid>
      <dc:creator>martin_hamilton</dc:creator>
      <dc:date>2016-08-10T14:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Select dates 3 months from today' date</title>
      <link>https://community.qlik.com/t5/QlikView/Select-dates-3-months-from-today-date/m-p/1165671#M893412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count({&amp;lt;DateField = {"$('&amp;gt;=' &amp;amp; Date(AddMonths(Today(), -2), 'DD/MM/YYYY'))"}&amp;gt;}ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 15:10:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-dates-3-months-from-today-date/m-p/1165671#M893412</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-10T15:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Select dates 3 months from today' date</title>
      <link>https://community.qlik.com/t5/QlikView/Select-dates-3-months-from-today-date/m-p/1165672#M893413</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;If you are looking for&amp;nbsp; within&lt;SPAN style="color: #0000ff;"&gt; next 2 &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt; months&amp;nbsp; , try this&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;DateField = {"&amp;gt;=$(=Date(Today(),'DD/MM/YYYY')))&amp;lt;=$(=&lt;SPAN style="color: #0000ff;"&gt;Date(AddMonths(Today(), 2)&lt;/SPAN&gt;,'DD/MM/YYYY'))"}} ID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 15:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-dates-3-months-from-today-date/m-p/1165672#M893413</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-10T15:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Select dates 3 months from today' date</title>
      <link>https://community.qlik.com/t5/QlikView/Select-dates-3-months-from-today-date/m-p/1165673#M893414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm thats not working either;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My file looks like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subscription Number, Contract End Date&lt;/P&gt;&lt;P&gt;1, 10/07/2016&lt;/P&gt;&lt;P&gt;2, 10/08/2016&lt;/P&gt;&lt;P&gt;3, 10/08/2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i would expect a return count of 2...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 15:49:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-dates-3-months-from-today-date/m-p/1165673#M893414</guid>
      <dc:creator>martin_hamilton</dc:creator>
      <dc:date>2016-08-10T15:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Select dates 3 months from today' date</title>
      <link>https://community.qlik.com/t5/QlikView/Select-dates-3-months-from-today-date/m-p/1165674#M893415</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;try this &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;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; font-size: 13px;"&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; font-size: 13px;"&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; font-size: 13px;"&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; font-size: 13px;"&gt;=count({&amp;lt;DateField = {"&amp;gt;=$(=Date(Today(),'DD/MM/YYYY')))&amp;lt;=$(=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;&lt;SPAN style="color: #000000;"&gt;Date(AddMonths(Today(), 2&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,'DD/MM/YYYY'))"}} &lt;SPAN style="color: #0000ff;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Subscription Number]&lt;/SPAN&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;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; font-size: 13px;"&gt;and try to &lt;STRONG&gt;add some more data !!!? as you need to CALCULATE next&amp;nbsp; 2 months !!&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;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; font-size: 13px;"&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; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Subscription Number, Contract End Date&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1, 10/07/2016&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2, 10/08/2016&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3, 10/08/2016&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;4. 25/08/2016&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;5. 28/08/2016&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 11:33:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-dates-3-months-from-today-date/m-p/1165674#M893415</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-11T11:33:07Z</dc:date>
    </item>
  </channel>
</rss>

