<?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 Generating records in between dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Generating-records-in-between-dates/m-p/1102536#M903033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i am attaching an excel file of sample data. I have a requirement that i need to repeat the same record until it encounters the new date in date field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the attached excel file sheet 'Input' the input source data. and what i should get in data model is mentioned in 'Output'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>dusasuman</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Generating records in between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Generating-records-in-between-dates/m-p/1102536#M903033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i am attaching an excel file of sample data. I have a requirement that i need to repeat the same record until it encounters the new date in date field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the attached excel file sheet 'Input' the input source data. and what i should get in data model is mentioned in 'Output'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&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/Generating-records-in-between-dates/m-p/1102536#M903033</guid>
      <dc:creator>dusasuman</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Generating records in between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Generating-records-in-between-dates/m-p/1102537#M903035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this what you want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/130340_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Date, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unit, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Branch, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Activity Code]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;betweenrecords.xlsx&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Input);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Date(Date + IterNo() - 1) as Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Unit,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Branch,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; [Activity Code]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;While Date + IterNo() - 1 &amp;lt; EndDate;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Date(If(Unit = Previous(Unit), Previous(Date) - 1, Today())) as EndDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By Date desc;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 14:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generating-records-in-between-dates/m-p/1102537#M903035</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-06T14:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Generating records in between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Generating-records-in-between-dates/m-p/1102538#M903036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the source data excel file the 1st sheet is input data and in the 2nd sheet i have mentioned the output that finally i should get..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 06:07:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generating-records-in-between-dates/m-p/1102538#M903036</guid>
      <dc:creator>dusasuman</dc:creator>
      <dc:date>2016-07-07T06:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Generating records in between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Generating-records-in-between-dates/m-p/1102539#M903037</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;thanks for your effort. The result is very close. But the record with 5/1/2016 missing and it is not generating. Also till the end date the records are not generating i.e records are generating till 9/30/2016. Need to complete up to 10/2/2016 with Activity code 'S', Branch Number 10..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 06:25:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generating-records-in-between-dates/m-p/1102539#M903037</guid>
      <dc:creator>dusasuman</dc:creator>
      <dc:date>2016-07-07T06:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Generating records in between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Generating-records-in-between-dates/m-p/1102540#M903038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.. Got it, just changed the code. Instead today() i kept Date field and in the while loop included &amp;lt;=..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got the final results..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 06:51:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generating-records-in-between-dates/m-p/1102540#M903038</guid>
      <dc:creator>dusasuman</dc:creator>
      <dc:date>2016-07-07T06:51:17Z</dc:date>
    </item>
  </channel>
</rss>

