<?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 Re: Next table value if null in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Next-table-value-if-null/m-p/465846#M488795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! That's exactly what I wanted. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Nov 2012 11:27:47 GMT</pubDate>
    <dc:creator>maestro444</dc:creator>
    <dc:date>2012-11-26T11:27:47Z</dc:date>
    <item>
      <title>Next table value if null</title>
      <link>https://community.qlik.com/t5/QlikView/Next-table-value-if-null/m-p/465844#M488791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TIME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILENAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 438px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="144"&gt;2012.11.26 00:01:17&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;AAEU.csv&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: none;" width="98"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: none;" width="98"&gt;1.29662&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;2012.11.26 00:01:17&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;INEU.csv&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1.2967&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;2012.11.26 00:01:18&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;AAEU.csv&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1.29666&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;2012.11.26 00:01:19&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;AAEU.csv&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1.29669&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;2012.11.26 00:01:20&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;AAEU.csv&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1.29669&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;2012.11.26 00:01:49&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;AAEU.csv&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1.29669&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;2012.11.26 00:02:02&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;AAEU.csv&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1.29671&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;2012.11.26 00:02:02&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;INEU.csv&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="text-align: -webkit-right;"&gt;1.29671&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;2012.11.26 00:02:07&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;AAEU.csv&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1.296855&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;2012.11.26 00:02:08&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;AAEU.csv&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1.29681&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello, is there any function that can help solving following issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a range of values which i want to compare by time, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the following logic: If row value equals to zero, then take previous value which is not equal to zero. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried previous function, but I made mistake in the formula, as I am not familiar with creating counters. And looks like some kind of counters should be created there to pick the right value avove. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(VALUE1=0,previous(VALUE1),VALUE1 as VALUE1_COUNTED,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be very thankful for any hints.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 10:43:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Next-table-value-if-null/m-p/465844#M488791</guid>
      <dc:creator>maestro444</dc:creator>
      <dc:date>2012-11-26T10:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Next table value if null</title>
      <link>https://community.qlik.com/t5/QlikView/Next-table-value-if-null/m-p/465845#M488793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not clear to me what you want. Try this and see if it does what you need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Time, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filename, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(rowno()=1 or INEU&amp;lt;&amp;gt;0,INEU,peek('NewINEU')) as NewINEU,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AAEU&lt;/P&gt;&lt;P&gt;FROM Data.skv &lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ';', msq);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 11:02:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Next-table-value-if-null/m-p/465845#M488793</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-11-26T11:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Next table value if null</title>
      <link>https://community.qlik.com/t5/QlikView/Next-table-value-if-null/m-p/465846#M488795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! That's exactly what I wanted. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 11:27:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Next-table-value-if-null/m-p/465846#M488795</guid>
      <dc:creator>maestro444</dc:creator>
      <dc:date>2012-11-26T11:27:47Z</dc:date>
    </item>
  </channel>
</rss>

