<?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 values equal to previous period in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/values-equal-to-previous-period/m-p/532999#M199119</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the inventory data is full of holes, in order to fill in those holes, i have to say if len(onhand)=0, onhand=onhand of previous day for this item at this store. how do i put that in the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jul 2013 19:42:47 GMT</pubDate>
    <dc:creator>yelin_nyu</dc:creator>
    <dc:date>2013-07-02T19:42:47Z</dc:date>
    <item>
      <title>values equal to previous period</title>
      <link>https://community.qlik.com/t5/QlikView/values-equal-to-previous-period/m-p/532999#M199119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the inventory data is full of holes, in order to fill in those holes, i have to say if len(onhand)=0, onhand=onhand of previous day for this item at this store. how do i put that in the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 19:42:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/values-equal-to-previous-period/m-p/532999#M199119</guid>
      <dc:creator>yelin_nyu</dc:creator>
      <dc:date>2013-07-02T19:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: values equal to previous period</title>
      <link>https://community.qlik.com/t5/QlikView/values-equal-to-previous-period/m-p/533000#M199120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *, if(Len(Onhand)=0, previous(Onhand), Onhand) as onHand&lt;/P&gt;&lt;P&gt;from datasource order by primaryfieldname, datefield asc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 19:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/values-equal-to-previous-period/m-p/533000#M199120</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2013-07-02T19:49:05Z</dc:date>
    </item>
  </channel>
</rss>

