<?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 null value with previous row value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replacing-null-value-with-previous-row-value/m-p/198436#M57737</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see my post here:&lt;BR /&gt;&lt;A href="http://community.qlik.com/media/p/141922.aspx"&gt;http://community.qlik.com/media/p/141922.aspx&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Feb 2011 18:41:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-02-02T18:41:16Z</dc:date>
    <item>
      <title>Replacing null value with previous row value</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-null-value-with-previous-row-value/m-p/198433#M57734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to replace null values in a table with the value in the previous row. The images below should give a better idea of where I am currently(image1) and the result(image2) desired. The simplest way to do it seemed to be to use the peek function(refer caption in image1). However, I have had no success so far. I tried both isnull(),len(&lt;EM&gt;fieldname&lt;/EM&gt;) with similar results. Qlikview seems to be reading the field 'Type' correctly, len(Type) and isnull(Type) both seem to indicate the '-' in the Type field are null value. I don't know if I am using the function incorrectly. Any help would be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3470_sourceID:3470" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3471_sourceID:3471" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 18:23:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-null-value-with-previous-row-value/m-p/198433#M57734</guid>
      <dc:creator />
      <dc:date>2011-02-02T18:23:45Z</dc:date>
    </item>
    <item>
      <title>Replacing null value with previous row value</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-null-value-with-previous-row-value/m-p/198434#M57735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll have to apply this to your situation but it should be easy enough:&lt;/P&gt;&lt;P&gt;=if(isnull(sum(Sales),above(sum(Sales),1),sum(Sales))&lt;/P&gt;&lt;P&gt;Hope that helps - replace 'sum(Sales)' with your expression.&lt;/P&gt;&lt;P&gt;* It can behave strangely with complex dimensions and pivot tables.&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 18:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-null-value-with-previous-row-value/m-p/198434#M57735</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2011-02-02T18:34:20Z</dc:date>
    </item>
    <item>
      <title>Replacing null value with previous row value</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-null-value-with-previous-row-value/m-p/198435#M57736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=if(Len(Type) = 0 ,Above(NewType), NewType)&lt;/P&gt;&lt;P&gt;Above function - Returns the value of expression evaluated with the chart's dimension values as they appear on the row above the current row within a column segment in a table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try this and see if it works for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 18:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-null-value-with-previous-row-value/m-p/198435#M57736</guid>
      <dc:creator />
      <dc:date>2011-02-02T18:40:30Z</dc:date>
    </item>
    <item>
      <title>Replacing null value with previous row value</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-null-value-with-previous-row-value/m-p/198436#M57737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see my post here:&lt;BR /&gt;&lt;A href="http://community.qlik.com/media/p/141922.aspx"&gt;http://community.qlik.com/media/p/141922.aspx&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 18:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-null-value-with-previous-row-value/m-p/198436#M57737</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-02T18:41:16Z</dc:date>
    </item>
    <item>
      <title>Replacing null value with previous row value</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-null-value-with-previous-row-value/m-p/198437#M57738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all you guys who responded right away.' Above' sounds like it should logically do the trick.&lt;/P&gt;&lt;P&gt;I tried the above function like Matt and Priyadarshini suggested. This is what I got.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/1033.Above.jpg"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/1033.Above.jpg" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Am I missing something ? Type and NewType(before the above function is applied in the chart) hold the same values initially. If not, then it seems like Matt suggested, it is acting funky with my dimensions.&lt;/P&gt;&lt;P&gt;Micheal, I am trying to use your method to see if it solves my issue. Thanks again, guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 19:53:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-null-value-with-previous-row-value/m-p/198437#M57738</guid>
      <dc:creator />
      <dc:date>2011-02-02T19:53:51Z</dc:date>
    </item>
    <item>
      <title>Replacing null value with previous row value</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-null-value-with-previous-row-value/m-p/198438#M57739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(Len(Type) = 0 ,Above(Type), NewType)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 21:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-null-value-with-previous-row-value/m-p/198438#M57739</guid>
      <dc:creator />
      <dc:date>2011-02-02T21:44:31Z</dc:date>
    </item>
    <item>
      <title>Replacing null value with previous row value</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-null-value-with-previous-row-value/m-p/198439#M57740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Priyadarshini,&lt;/P&gt;&lt;P&gt;My question is in the above figure what have shown -I want to to sum all the values 1 in the "len(Type)" column.I use thye sum function but that does not match with my requirement.&lt;/P&gt;&lt;P&gt;Pleasee help me if there are any idea about this summation problem.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 08:36:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-null-value-with-previous-row-value/m-p/198439#M57740</guid>
      <dc:creator />
      <dc:date>2011-03-24T08:36:41Z</dc:date>
    </item>
  </channel>
</rss>

