<?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 record from excel source in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Populate-record-from-excel-source/m-p/171899#M41701</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,m&lt;/P&gt;&lt;P&gt;try the code below. because i'musing a german QV i changed the "," of the Target to a "." &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The idea ist to use the iterno() function to multiply a single record into multiple records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;org:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;CUST_NO, POST_DATE, TARGET&lt;BR /&gt;100000, 2010/05/01, 50.000&lt;BR /&gt;200000, 2010/01/01, 10.000&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;LET vDateToday= NUM(MAKEDATE(2010,1, 8));&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;new:&lt;BR /&gt;NOCONCATENATE&lt;BR /&gt;LOAD&lt;BR /&gt; CUST_NO&lt;BR /&gt;, DATE(NUM(DATE#(POST_DATE,'YYYY/DD/MM'))+ iterno() - 1) AS POST_DATE&lt;BR /&gt;, TARGET&lt;BR /&gt;RESIDENT org&lt;BR /&gt;WHILE iterno() &amp;lt;= ($(vDateToday) - NUM(DATE#(POST_DATE,'YYYY/DD/MM'))+1);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DROP TABLE org;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Aug 2010 22:58:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-24T22:58:47Z</dc:date>
    <item>
      <title>Populate record from excel source</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-record-from-excel-source/m-p/171898#M41700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;Hope you can help me, i need to know how I can populate records from excel, please see sample records below:&lt;/P&gt;&lt;P&gt;CUST NO | POST DATE | TARGET&lt;/P&gt;&lt;P&gt;100000 | 2010/05/01 | 50,000&lt;BR /&gt;200000 | 2010/01/01 | 10,000&lt;/P&gt;&lt;P&gt;i wanted to load the records above and populate it and store in a QVD with the following results:&lt;/P&gt;&lt;P&gt;100000 | 2010/05/01 | 50,000&lt;BR /&gt;100000 | 2010/06/01 | 50,000&lt;BR /&gt;100000 | 2010/07/01 | 50,000&lt;BR /&gt;100000 | 2010/08/01 | 50,000&lt;BR /&gt;200000 | 2010/01/01 | 10,000&lt;BR /&gt;200000 | 2010/02/01 | 10,000&lt;BR /&gt;200000 | 2010/03/01 | 10,000&lt;BR /&gt;200000 | 2010/04/01 | 10,000&lt;BR /&gt;200000 | 2010/05/01 | 10,000&lt;BR /&gt;200000 | 2010/06/01 | 10,000&lt;BR /&gt;200000 | 2010/07/01 | 10,000&lt;BR /&gt;200000 | 2010/08/01 | 10,000&lt;/P&gt;&lt;P&gt;Records above are populate base on the CURRENT DAY and the POSTDATE.&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Tnx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 09:32:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-record-from-excel-source/m-p/171898#M41700</guid>
      <dc:creator />
      <dc:date>2010-08-24T09:32:29Z</dc:date>
    </item>
    <item>
      <title>Populate record from excel source</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-record-from-excel-source/m-p/171899#M41701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,m&lt;/P&gt;&lt;P&gt;try the code below. because i'musing a german QV i changed the "," of the Target to a "." &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The idea ist to use the iterno() function to multiply a single record into multiple records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;org:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;CUST_NO, POST_DATE, TARGET&lt;BR /&gt;100000, 2010/05/01, 50.000&lt;BR /&gt;200000, 2010/01/01, 10.000&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;LET vDateToday= NUM(MAKEDATE(2010,1, 8));&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;new:&lt;BR /&gt;NOCONCATENATE&lt;BR /&gt;LOAD&lt;BR /&gt; CUST_NO&lt;BR /&gt;, DATE(NUM(DATE#(POST_DATE,'YYYY/DD/MM'))+ iterno() - 1) AS POST_DATE&lt;BR /&gt;, TARGET&lt;BR /&gt;RESIDENT org&lt;BR /&gt;WHILE iterno() &amp;lt;= ($(vDateToday) - NUM(DATE#(POST_DATE,'YYYY/DD/MM'))+1);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DROP TABLE org;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 22:58:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-record-from-excel-source/m-p/171899#M41701</guid>
      <dc:creator />
      <dc:date>2010-08-24T22:58:47Z</dc:date>
    </item>
    <item>
      <title>Populate record from excel source</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-record-from-excel-source/m-p/171900#M41702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;The code works perfect, however my iteration is is base on months and not on days as defined in your code.&lt;/P&gt;&lt;P&gt;my date format is YYYY/MM/DD that might have confused you. Hope you can still help me on this. tnx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Aug 2010 07:48:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-record-from-excel-source/m-p/171900#M41702</guid>
      <dc:creator />
      <dc:date>2010-08-25T07:48:28Z</dc:date>
    </item>
  </channel>
</rss>

