<?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: While loop for creating dates between 1985 and 2016 - performance issues in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069825#M1253634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should not mix calendar fields with other fact fields, create 30 years days first in calendar table and link it with other facts through common date field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Mar 2016 17:34:51 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2016-03-14T17:34:51Z</dc:date>
    <item>
      <title>While loop for creating dates between 1985 and 2016 - performance issues</title>
      <link>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069822#M1253628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 8pt; font-family: 'Helvetica',sans-serif;"&gt;load&lt;/STRONG&gt;&lt;SPAN style="color: #666666; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt;link_Sup_ADCNO&lt;/SPAN&gt;&lt;SPAN style="color: #666666; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt;,&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt;BeginningDateofSupervision&lt;/SPAN&gt;&lt;SPAN style="color: #666666; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt; + &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt;IterNo&lt;/SPAN&gt;&lt;SPAN style="color: #666666; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt;()-1 &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: #666666; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt;Dup_analysis_date&lt;/SPAN&gt;&lt;SPAN style="color: #666666; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt; , &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt;S&lt;/SPAN&gt;&lt;SPAN style="color: #666666; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: #666666; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt;Dup_S&lt;/SPAN&gt;&lt;SPAN style="color: #666666; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="color: #666666; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt; resident Supervision&lt;/SPAN&gt;&lt;SPAN style="color: #666666; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt;while&lt;/SPAN&gt;&lt;SPAN style="color: #666666; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt;IterNo&lt;/SPAN&gt;&lt;SPAN style="color: #666666; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt;() &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt;Supervision_End_Date&lt;/SPAN&gt;&lt;SPAN style="color: #666666; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt; - &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt;BeginningDateofSupervision&lt;/SPAN&gt;&lt;SPAN style="color: #666666; font-family: 'Helvetica',sans-serif; font-size: 8pt;"&gt; +1 ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statement above is running in the application for more than 2 hours.&amp;nbsp; I have posted this issue to others and received some good feedback to pull data from the resident table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am still having performance issues , any ideas on how to make this while statement run faster and more efficiently?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069822#M1253628</guid>
      <dc:creator>rarora12</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: While loop for creating dates between 1985 and 2016 - performance issues</title>
      <link>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069823#M1253631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would be great if you could provide also the context. Maybe 'while' is not the best solution to the overall problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 17:17:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069823#M1253631</guid>
      <dc:creator>luciancotea</dc:creator>
      <dc:date>2016-03-14T17:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: While loop for creating dates between 1985 and 2016 - performance issues</title>
      <link>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069824#M1253633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am creating a calendar as the user wants to select dates and date ranges for analysis.&amp;nbsp; The supervision in the database being analyzed has a start date and end date.&amp;nbsp; So I am creating the analysis date one day at a time with the while loop displayed above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For an adcno the supervision can start in 1985 and end in 2016 so I building dates for 30 years just for one adcno.&lt;/P&gt;&lt;P&gt;Then I am going to the next adcno and creating dates again!!&lt;/P&gt;&lt;P&gt;You get the idea I hope&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let&amp;nbsp; me know what other information I can provide.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 17:29:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069824#M1253633</guid>
      <dc:creator>rarora12</dc:creator>
      <dc:date>2016-03-14T17:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: While loop for creating dates between 1985 and 2016 - performance issues</title>
      <link>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069825#M1253634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should not mix calendar fields with other fact fields, create 30 years days first in calendar table and link it with other facts through common date field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 17:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069825#M1253634</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-03-14T17:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: While loop for creating dates between 1985 and 2016 - performance issues</title>
      <link>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069826#M1253635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am actually using the build of the dates from the code above to create the master calendar.&amp;nbsp; The dates need to be associated with a specific adcno.&amp;nbsp; So Adcno 1 can have a range of dates of supervision from 1985 to 2015. Adcno2 has range of supervision from 1997 to 1999.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide any examples?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 17:59:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069826#M1253635</guid>
      <dc:creator>rarora12</dc:creator>
      <dc:date>2016-03-14T17:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: While loop for creating dates between 1985 and 2016 - performance issues</title>
      <link>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069827#M1253636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The data in the database looks like this where the range exists between beginningdateofsupervision and supervision_end_date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;select&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;distinct&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;&amp;nbsp; b&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt; font-family: Consolas;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;OffenderIdentificationNumber &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; Sup_ADCNO&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;&amp;nbsp; BeginningDateofSupervision , &lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;Supervision_End_Date&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; [AIMSDW]&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt; font-family: Consolas;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;[DW_Stage_PCAIMS]&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt; font-family: Consolas;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;[Tbl_DORS07AA] b&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 18:12:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069827#M1253636</guid>
      <dc:creator>rarora12</dc:creator>
      <dc:date>2016-03-14T18:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: While loop for creating dates between 1985 and 2016 - performance issues</title>
      <link>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069828#M1253637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as I remember you were talking of millions of records of your input table, and each date loop may create thousands of records. So we are talking about billions of output table records. Is this correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some things to consider:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Do you really need day level granularity?&lt;/P&gt;&lt;P&gt;- Same granularity for the whole date range?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think creating billions of records may take some time indeed, so not sure if we can get to minutes instead of hours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Do you need to create these records once, or do you really need to run over the complete data daily?&lt;/P&gt;&lt;P&gt;You may want to look into incremental load approaches to avoid the need to run the date creation over and over again.&lt;/P&gt;&lt;P&gt;You would then load (most of) the dates from a QVD, which could be optimized.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 18:14:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069828#M1253637</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-14T18:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: While loop for creating dates between 1985 and 2016 - performance issues</title>
      <link>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069829#M1253638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps I can create dates every 5 days or 3 days.&amp;nbsp; Yes I believe that that incremental load is the only solution for this volume of data. &lt;/P&gt;&lt;P&gt;If the user did not want a calendar I could have used set analysis and avoided this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any ideas for creating less granularity?s&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 18:29:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069829#M1253638</guid>
      <dc:creator>rarora12</dc:creator>
      <dc:date>2016-03-14T18:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: While loop for creating dates between 1985 and 2016 - performance issues</title>
      <link>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069830#M1253639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first idea that occurred to me to maintain granularity without having billions of rows would be to still expand the data out, but to a key value, not the specific dates.&amp;nbsp; Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Original Data:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt;Adcno, Begin, End&lt;BR /&gt;1, 1985-03-10, 2015-11-03&lt;BR /&gt;... millions of rows ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expand into date key values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Adcno, DateKey&lt;BR /&gt;1, 1985-03-10&lt;BR /&gt;1, 1985-03-11&lt;BR /&gt;...&lt;BR /&gt;1, 1985-03-31&lt;BR /&gt;1, 1985-04&lt;BR /&gt;1, 1985-05&lt;BR /&gt;...&lt;BR /&gt;1, 1985-12&lt;BR /&gt;1, 1986&lt;BR /&gt;1, 1987&lt;BR /&gt;1, 1988&lt;BR /&gt;...&lt;BR /&gt;1, 2014&lt;BR /&gt;1, 2015-01&lt;BR /&gt;1, 2015-02&lt;BR /&gt;...&lt;BR /&gt;1, 2015-10&lt;BR /&gt;1, 2015-11-01&lt;BR /&gt;1, 2015-11-02&lt;BR /&gt;1, 2015-11-03&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And build a table that links all date keys to associated dates:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;DateKey, Date&lt;BR /&gt;1985-01-01, 1985-01-01&lt;BR /&gt;1985-01-02, 1985-01-02&lt;BR /&gt;... all dates thru ...&lt;BR /&gt;2015-12-30, 2015-12-30&lt;BR /&gt;2015-12-31, 2015-12-31&lt;BR /&gt;1985-01, 1985-01-01&lt;BR /&gt;1985-01, 1985-01-02&lt;BR /&gt;...&lt;BR /&gt;1985-01, 1985-01-31&lt;BR /&gt;1985-02, 1985-02-01&lt;BR /&gt;... dates for all months thru...&lt;BR /&gt;2015-12, 2015-12-31&lt;BR /&gt;1985, 1985-01-01&lt;BR /&gt;1985, 1985-01-02&lt;BR /&gt;... dates for all years thru...&lt;BR /&gt;2015, 2015-12-31&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure quite how to do the expansion into the date key values in step 2, but it's surely doable. And you might include decades as well as years. Maybe quarters. Whatever helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 19:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069830#M1253639</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-03-14T19:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: While loop for creating dates between 1985 and 2016 - performance issues</title>
      <link>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069831#M1253640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have a Start and End Date and want to select dates and date ranges for analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you looked at using the IntervalMatch() function in the load script ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 19:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069831#M1253640</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-14T19:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: While loop for creating dates between 1985 and 2016 - performance issues</title>
      <link>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069832#M1253641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don have a date interval date - the user can enter any date via an input box&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 19:47:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069832#M1253641</guid>
      <dc:creator>rarora12</dc:creator>
      <dc:date>2016-03-14T19:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: While loop for creating dates between 1985 and 2016 - performance issues</title>
      <link>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069833#M1253642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the typos, I don't have a date that can be used as an interval.&amp;nbsp; The user enters any date they want via an input box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try all these options or a mix of them and let you all know how I do?&lt;/P&gt;&lt;P&gt;Wish me luck!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 21:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069833#M1253642</guid>
      <dc:creator>rarora12</dc:creator>
      <dc:date>2016-03-14T21:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: While loop for creating dates between 1985 and 2016 - performance issues</title>
      <link>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069834#M1253643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This isn't ideal (one of the concatenates from QVD is unoptimized), but here's a combination of incremental load and the DateKey approach I was talking about. It seems to go quite fast, including the unoptimized concatenate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting about 42 DateKey values per row of the original table. To keep from causing trouble, I put that data in its own table so as not to duplicate rows of the original table. If you have 10,000,000 keys, you're going to have about 420,000,000 rows in this table. It may not be as big in memory as it sounds, though. I figure a couple bytes for the DateKey per row, three bytes for the regular Key, so around 2 GB being added to your data model to split all of your keys out into every date associated with those keys. Not sure if you consider that big or not, and also not sure if I've calculated correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 02:06:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069834#M1253643</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-03-15T02:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: While loop for creating dates between 1985 and 2016 - performance issues</title>
      <link>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069835#M1253644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really appreciate the time and effort on you part Sir.&amp;nbsp; I will try it and let you know how I do.&lt;/P&gt;&lt;P&gt;I am quite impressed with your follow up and also everyone's assistance..&lt;/P&gt;&lt;P&gt;Quite impressive!!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 02:14:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-loop-for-creating-dates-between-1985-and-2016-performance/m-p/1069835#M1253644</guid>
      <dc:creator>rarora12</dc:creator>
      <dc:date>2016-03-15T02:14:25Z</dc:date>
    </item>
  </channel>
</rss>

