<?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 to populate all the dates between the start date and end date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/to-populate-all-the-dates-between-the-start-date-and-end-date/m-p/419599#M698576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Geniuses,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two dates with me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fiscal week start date, lets say it is 03/02/2013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fiscal week end date, lets say it is 09/02/2013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have to populate date field in script which will contain dates as 03/02/2013,04/02/2013......08/02/2013,09/022013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2013 11:00:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-02-08T11:00:20Z</dc:date>
    <item>
      <title>to populate all the dates between the start date and end date</title>
      <link>https://community.qlik.com/t5/QlikView/to-populate-all-the-dates-between-the-start-date-and-end-date/m-p/419599#M698576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Geniuses,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two dates with me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fiscal week start date, lets say it is 03/02/2013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fiscal week end date, lets say it is 09/02/2013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have to populate date field in script which will contain dates as 03/02/2013,04/02/2013......08/02/2013,09/022013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 11:00:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/to-populate-all-the-dates-between-the-start-date-and-end-date/m-p/419599#M698576</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-08T11:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: to populate all the dates between the start date and end date</title>
      <link>https://community.qlik.com/t5/QlikView/to-populate-all-the-dates-between-the-start-date-and-end-date/m-p/419600#M698577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/02/05/populating-a-sparsely-populated-field"&gt;this blog post&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 11:06:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/to-populate-all-the-dates-between-the-start-date-and-end-date/m-p/419600#M698577</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-08T11:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: to populate all the dates between the start date and end date</title>
      <link>https://community.qlik.com/t5/QlikView/to-populate-all-the-dates-between-the-start-date-and-end-date/m-p/419601#M698578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its not working out, the ans which is coming through this is attached in image&lt;IMG __jive_id="33275" class="jive-image-thumbnail jive-image" onclick="" alt="cal.jpg" src="https://community.qlik.com/legacyfs/online/33275_cal.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;But the ans should be for week start 7/26/2009 the values should be 7/26/2009...08/01/2009&lt;/P&gt;&lt;P&gt;and after that the week start shoul change to 08/02/2009 and the dates should populate in this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using below script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONNECT TO [Provider=OraOLEDB.Oracle.1;Persist Security Info=False;User ID=LDW_QLIKVIEW_DS;Data Source=LDW;Extended Properties=""] (XPassword is KRNPbIRJJaSMVEVIXaXIUJdLQSUIEfA);&lt;/P&gt;&lt;P&gt;ETG_Calendar:&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;PROD.CISCO_DAY_DIM&lt;/P&gt;&lt;P&gt;Where LDW_FISCAL_YEAR_NUMBER &amp;gt;= 2010;&lt;/P&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;&lt;P&gt;Calendar:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;LDW_FISCAL_WEEK_START,&lt;/P&gt;&lt;P&gt;LDW_FISCAL_WEEK_END&lt;/P&gt;&lt;P&gt;//MAKEDate(num(LDW_FISCAL_WEEK_START)-num(LDW_FISCAL_WEEK_END),'MM/DD/YYYY') AS Dates&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;ETG_Calendar;&lt;/P&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;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MinMaxDate:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;Min(LDW_FISCAL_WEEK_START) as MinDate, &lt;/P&gt;&lt;P&gt;Max(LDW_FISCAL_WEEK_START) as MaxDate &lt;/P&gt;&lt;P&gt;resident&lt;/P&gt;&lt;P&gt;ETG_Calendar;&lt;/P&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;&lt;P&gt;Let vMinDate = Peek('MinDate',-1,'MinMaxDate') - 1;&lt;/P&gt;&lt;P&gt;Let vMaxDate = Peek('MaxDate',-1,'MinMaxDate');&lt;/P&gt;&lt;P&gt;Drop Table MinMaxDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join(Calendar)&lt;/P&gt;&lt;P&gt;Load Date(recno()+$(vMinDate)) as Date&lt;/P&gt;&lt;P&gt;Autogenerate (vMaxDate - vMinDate); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Tables ETG_Calendar;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 11:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/to-populate-all-the-dates-between-the-start-date-and-end-date/m-p/419601#M698578</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-08T11:55:05Z</dc:date>
    </item>
  </channel>
</rss>

