<?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 Fill with previous in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fill-with-previous/m-p/166019#M38113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the comment John. The fieldvalue() idea looks interesting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Nov 2010 01:05:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-11-02T01:05:10Z</dc:date>
    <item>
      <title>Fill with previous</title>
      <link>https://community.qlik.com/t5/QlikView/Fill-with-previous/m-p/166017#M38111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If anyone is interested in an example of "fill with previous" - I posted it on &lt;A href="https://community.qlik.com/media/p/141922.aspx"&gt;Share QlikViews&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 00:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fill-with-previous/m-p/166017#M38111</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-01T00:19:26Z</dc:date>
    </item>
    <item>
      <title>Fill with previous</title>
      <link>https://community.qlik.com/t5/QlikView/Fill-with-previous/m-p/166018#M38112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect that the below will execute a little faster (fieldvalue() vs. distinct, fewer joins) and use less memory (temp field vs. temp table). I also have a feeling that there's a single-step solution, but I haven't come up with anything that works.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;RIGHT JOIN (data)&lt;BR /&gt;LOAD&lt;BR /&gt; fieldvalue('Product',iterno()) as Product&lt;BR /&gt;,recno() as Month&lt;BR /&gt;AUTOGENERATE 12&lt;BR /&gt;WHILE len(fieldvalue('Product',iterno()))&lt;BR /&gt;;&lt;BR /&gt;LEFT JOIN (data)&lt;BR /&gt;LOAD&lt;BR /&gt; Product&lt;BR /&gt;,Month&lt;BR /&gt;,if(len(Qty)=0 and Product=peek(Product),peek(Qty2),Qty) as Qty2&lt;BR /&gt;RESIDENT data&lt;BR /&gt;ORDER BY Product,Month&lt;BR /&gt;;&lt;BR /&gt;DROP FIELD Qty;&lt;BR /&gt;RENAME FIELD Qty2 TO Qty;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 23:50:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fill-with-previous/m-p/166018#M38112</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-01T23:50:17Z</dc:date>
    </item>
    <item>
      <title>Fill with previous</title>
      <link>https://community.qlik.com/t5/QlikView/Fill-with-previous/m-p/166019#M38113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the comment John. The fieldvalue() idea looks interesting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 01:05:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fill-with-previous/m-p/166019#M38113</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-02T01:05:10Z</dc:date>
    </item>
  </channel>
</rss>

