<?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 Replacing missing values with previous row's value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replacing-missing-values-with-previous-row-s-value/m-p/484368#M1130332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an excel table such as the following:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; WIDTH: 100%; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Price&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Product A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Product B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice that some of the values for 'Product' is missing. What I would like to do in my load statement, is to populate these missing values with the value of the above row (i.e in this case replace first '-' with Product 'A', and second '-' with 'Product B')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way in the Load statement to check if Product is null/missing, then populate with the value above?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Nov 2013 07:57:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-25T07:57:44Z</dc:date>
    <item>
      <title>Replacing missing values with previous row's value</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-missing-values-with-previous-row-s-value/m-p/484368#M1130332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an excel table such as the following:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; WIDTH: 100%; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Price&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Product A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Product B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice that some of the values for 'Product' is missing. What I would like to do in my load statement, is to populate these missing values with the value of the above row (i.e in this case replace first '-' with Product 'A', and second '-' with 'Product B')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way in the Load statement to check if Product is null/missing, then populate with the value above?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 07:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-missing-values-with-previous-row-s-value/m-p/484368#M1130332</guid>
      <dc:creator />
      <dc:date>2013-11-25T07:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing missing values with previous row's value</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-missing-values-with-previous-row-s-value/m-p/484369#M1130333</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;Like this:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(IsNull(Product), Peek('Product'), Product) As Product,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Price&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or use the advanced filtering from the load wizard and use the Fill option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 08:05:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-missing-values-with-previous-row-s-value/m-p/484369#M1130333</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-11-25T08:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing missing values with previous row's value</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-missing-values-with-previous-row-s-value/m-p/484370#M1130334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like youare in need of the Peek() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This blog post gives lots of details:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="j-search-result-value" href="https://community.qlik.com/docs/DOC-3786" style="margin: 0 0 3px; font-weight: bold; font-size: 15px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;&lt;SPAN class="j-search-result-title" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Generating &lt;EM class="jive-hilite" style="font-family: inherit; background-color: #ffffcd;"&gt;Missing&lt;/EM&gt; &lt;EM class="jive-hilite" style="font-family: inherit; background-color: #ffffcd;"&gt;Data&lt;/EM&gt; In QlikView&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-search-result-title" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-search-result-title" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-search-result-title" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 08:06:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-missing-values-with-previous-row-s-value/m-p/484370#M1130334</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-25T08:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing missing values with previous row's value</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-missing-values-with-previous-row-s-value/m-p/484371#M1130335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 10:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-missing-values-with-previous-row-s-value/m-p/484371#M1130335</guid>
      <dc:creator />
      <dc:date>2013-11-25T10:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing missing values with previous row's value</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-missing-values-with-previous-row-s-value/m-p/484372#M1130336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 10:16:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-missing-values-with-previous-row-s-value/m-p/484372#M1130336</guid>
      <dc:creator />
      <dc:date>2013-11-25T10:16:44Z</dc:date>
    </item>
  </channel>
</rss>

