<?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 Populate every possible date between the open and start date range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Populate-every-possible-date-between-the-open-and-start-date/m-p/231974#M83646</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;Use this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vDateMin = Num(AddYears(Today(),-1));&lt;BR /&gt;LET vDateMax = Num(Today());&lt;BR /&gt;LET NoOfDays = $(vDateMax) - $(vDateMin);&lt;BR /&gt;&lt;BR /&gt;TempCalendar:&lt;BR /&gt;LOAD&lt;BR /&gt;Num($(vDateMax) - recno() + 1) as CalendarDateNum,&lt;BR /&gt;date($(vDateMax) - recno() + 1) as CalendarDate&lt;BR /&gt;AUTOGENERATE&lt;BR /&gt;$(NoOfDays);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Apr 2010 08:24:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-28T08:24:45Z</dc:date>
    <item>
      <title>Populate every possible date between the open and start date range</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-every-possible-date-between-the-open-and-start-date/m-p/231967#M83639</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;I have a dataset with a task_number with a start and end date. I would like to display this in a chart with the x-axis being the date. My purpose is to show the open and closed task over time.&lt;/P&gt;&lt;P&gt;The data looks like:&lt;/P&gt;&lt;P&gt;Task Number Task Created Date Task End Date Task Status Open Tasks Max Date&lt;BR /&gt;21412826 26.8.2009 Open 11.1.2010&lt;BR /&gt;21600258 15.9.2008 17.9.2008 Closed&lt;/P&gt;&lt;P&gt;If a Task is Closed it has an End Date if not it has an Open Tasks Max Date. So the open task with TaskNumber 21412826 will be recorded with one record from 26.8.2009 to the 'Open Tasks Max Date' field which is 11.1.2010. The Closed Task Number 21600258 will be recorded on the 15.9.2008, 16.8.2008 and 17.8.2008 (the Task End Date).How can I achieve this?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Rishi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 01:03:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-every-possible-date-between-the-open-and-start-date/m-p/231967#M83639</guid>
      <dc:creator />
      <dc:date>2010-02-05T01:03:28Z</dc:date>
    </item>
    <item>
      <title>Populate every possible date between the open and start date range</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-every-possible-date-between-the-open-and-start-date/m-p/231968#M83640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look here: &lt;A href="http://community.qlik.com/forums/t/25279.aspx"&gt;http://community.qlik.com/forums/t/25279.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Similar kind of logic should work for you. Just a quick thought.&lt;/P&gt;&lt;P&gt;Rakesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 04:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-every-possible-date-between-the-open-and-start-date/m-p/231968#M83640</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-02-05T04:15:40Z</dc:date>
    </item>
    <item>
      <title>Populate every possible date between the open and start date range</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-every-possible-date-between-the-open-and-start-date/m-p/231969#M83641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I already set the max and min date. I would like to have in one table every date between the start and end date.&lt;/P&gt;&lt;P&gt;Rishi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 10:32:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-every-possible-date-between-the-open-and-start-date/m-p/231969#M83641</guid>
      <dc:creator />
      <dc:date>2010-02-05T10:32:08Z</dc:date>
    </item>
    <item>
      <title>Populate every possible date between the open and start date range</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-every-possible-date-between-the-open-and-start-date/m-p/231970#M83642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rishi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rakesh pointed you to right place, the code is available there to generate the dates between a min and max date. That should suffice, isn't it. Check the code starting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempCalendar:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;I&gt;$(vDateMin)&lt;/I&gt; + RowNo() - 1&lt;/B&gt; AS DateNumber,&lt;/P&gt;&lt;P&gt;Date(&lt;B&gt;&lt;I&gt;$(vDateMin)&lt;/I&gt; + RowNo() - 1)&lt;/B&gt; AS TempDate&lt;/P&gt;&lt;P&gt;&lt;B&gt;AUTOGENERATE&lt;/B&gt;TempDate &lt;B&gt;AS&lt;/B&gt; EstProjFin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 &lt;B&gt;WHILE&lt;/B&gt; &lt;B&gt;&lt;I&gt;$(vDateMin)&lt;/I&gt;+IterNo()-1&amp;lt;=&lt;/B&gt; &lt;I&gt;$(vDateMax)&lt;/I&gt;;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 16:31:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-every-possible-date-between-the-open-and-start-date/m-p/231970#M83642</guid>
      <dc:creator>vidyut</dc:creator>
      <dc:date>2010-02-05T16:31:17Z</dc:date>
    </item>
    <item>
      <title>Populate every possible date between the open and start date range</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-every-possible-date-between-the-open-and-start-date/m-p/231971#M83643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vidyut and Rakesh,&lt;/P&gt;&lt;P&gt;Thanks for the direction. I have now created two tables, one with the tasks and start and end dates and the other the Calendar with all the possible values from the Tasks table.&lt;/P&gt;&lt;P&gt;How do I populate the dates between the start and end date with the values from the Calendar for every Tasknumber recorded?&lt;/P&gt;&lt;P&gt;I am sorry being kind of a newbie in Qlikview...&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rishi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Feb 2010 18:23:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-every-possible-date-between-the-open-and-start-date/m-p/231971#M83643</guid>
      <dc:creator />
      <dc:date>2010-02-06T18:23:06Z</dc:date>
    </item>
    <item>
      <title>Populate every possible date between the open and start date range</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-every-possible-date-between-the-open-and-start-date/m-p/231972#M83644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;attach is your file&lt;/P&gt;&lt;P&gt;with one more step , an interval match function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2010 16:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-every-possible-date-between-the-open-and-start-date/m-p/231972#M83644</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2010-02-07T16:34:23Z</dc:date>
    </item>
    <item>
      <title>Populate every possible date between the open and start date range</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-every-possible-date-between-the-open-and-start-date/m-p/231973#M83645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much guys for the input!&lt;/P&gt;&lt;P&gt;It works neat!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rishi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2010 09:44:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-every-possible-date-between-the-open-and-start-date/m-p/231973#M83645</guid>
      <dc:creator />
      <dc:date>2010-02-08T09:44:17Z</dc:date>
    </item>
    <item>
      <title>Populate every possible date between the open and start date range</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-every-possible-date-between-the-open-and-start-date/m-p/231974#M83646</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;Use this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vDateMin = Num(AddYears(Today(),-1));&lt;BR /&gt;LET vDateMax = Num(Today());&lt;BR /&gt;LET NoOfDays = $(vDateMax) - $(vDateMin);&lt;BR /&gt;&lt;BR /&gt;TempCalendar:&lt;BR /&gt;LOAD&lt;BR /&gt;Num($(vDateMax) - recno() + 1) as CalendarDateNum,&lt;BR /&gt;date($(vDateMax) - recno() + 1) as CalendarDate&lt;BR /&gt;AUTOGENERATE&lt;BR /&gt;$(NoOfDays);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 08:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-every-possible-date-between-the-open-and-start-date/m-p/231974#M83646</guid>
      <dc:creator />
      <dc:date>2010-04-28T08:24:45Z</dc:date>
    </item>
  </channel>
</rss>

