<?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: fill empty values wtih the last one not empty in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/fill-empty-values-wtih-the-last-one-not-empty/m-p/1904945#M74615</link>
    <description>&lt;P&gt;In script:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;If(len(rowno()_field) = 0, peek('rowno()_field'),&amp;nbsp;rownno()_field) as&amp;nbsp;rowno()_field&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Mar 2022 18:59:56 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2022-03-14T18:59:56Z</dc:date>
    <item>
      <title>fill empty values wtih the last one not empty</title>
      <link>https://community.qlik.com/t5/App-Development/fill-empty-values-wtih-the-last-one-not-empty/m-p/1904928#M74613</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a piece of script with Rowno() as identifier of rows.&lt;/P&gt;
&lt;P&gt;The I supress some of the Rowno() , obtaining something like this:&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 120pt;" border="0" width="160" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="80" height="20" style="height: 15.0pt; width: 60pt;"&gt;rowno()_field&lt;/TD&gt;
&lt;TD width="80" style="width: 60pt;"&gt;field1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;1&lt;/TD&gt;
&lt;TD&gt;ñswhfñ&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;2&lt;/TD&gt;
&lt;TD&gt;cjnklsaj&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" style="height: 15.0pt;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;jclal&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" style="height: 15.0pt;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;kjhflw&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" style="height: 15.0pt;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;fjlakj&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;6&lt;/TD&gt;
&lt;TD&gt;jlñkjsae&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;7&lt;/TD&gt;
&lt;TD&gt;fjlñejflk&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;8&lt;/TD&gt;
&lt;TD&gt;fjkjedfrlk&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;9&lt;/TD&gt;
&lt;TD&gt;asjfje&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" style="height: 15.0pt;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;jflñkj&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" style="height: 15.0pt;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;uiwq&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;12&lt;/TD&gt;
&lt;TD&gt;elkwe&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to get some piece of scipt or tips to transform the previous table in this other:&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 120pt;" border="0" width="160" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="80" height="20" style="height: 15.0pt; width: 60pt;"&gt;rowno()_field&lt;/TD&gt;
&lt;TD width="80" style="width: 60pt;"&gt;field1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;1&lt;/TD&gt;
&lt;TD&gt;ñswhfñ&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;2&lt;/TD&gt;
&lt;TD&gt;cjnklsaj&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" class="xl65" style="height: 15.0pt;"&gt;2&lt;/TD&gt;
&lt;TD&gt;jclal&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" class="xl65" style="height: 15.0pt;"&gt;2&lt;/TD&gt;
&lt;TD&gt;kjhflw&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" class="xl65" style="height: 15.0pt;"&gt;2&lt;/TD&gt;
&lt;TD&gt;fjlakj&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;6&lt;/TD&gt;
&lt;TD&gt;jlñkjsae&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;7&lt;/TD&gt;
&lt;TD&gt;fjlñejflk&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;8&lt;/TD&gt;
&lt;TD&gt;fjkjedfrlk&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;9&lt;/TD&gt;
&lt;TD&gt;asjfje&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" class="xl65" style="height: 15.0pt;"&gt;9&lt;/TD&gt;
&lt;TD&gt;jflñkj&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" class="xl65" style="height: 15.0pt;"&gt;9&lt;/TD&gt;
&lt;TD&gt;uiwq&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;12&lt;/TD&gt;
&lt;TD&gt;elkwe&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The idea is to fill each empty row repeating the last non-empty one.&lt;/P&gt;
&lt;P&gt;THANK YOU FOR your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 18:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/fill-empty-values-wtih-the-last-one-not-empty/m-p/1904928#M74613</guid>
      <dc:creator>lmenendez_grupo_pinero</dc:creator>
      <dc:date>2022-03-14T18:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: fill empty values wtih the last one not empty</title>
      <link>https://community.qlik.com/t5/App-Development/fill-empty-values-wtih-the-last-one-not-empty/m-p/1904945#M74615</link>
      <description>&lt;P&gt;In script:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;If(len(rowno()_field) = 0, peek('rowno()_field'),&amp;nbsp;rownno()_field) as&amp;nbsp;rowno()_field&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 18:59:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/fill-empty-values-wtih-the-last-one-not-empty/m-p/1904945#M74615</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2022-03-14T18:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: fill empty values wtih the last one not empty</title>
      <link>https://community.qlik.com/t5/App-Development/fill-empty-values-wtih-the-last-one-not-empty/m-p/1904948#M74616</link>
      <description>&lt;P&gt;Looks like peek() can help to get the null rows filled with the previosu row value. If the values are empty instead of null then you might need to use condition like - if&amp;nbsp;rowno()_field = ''&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If (isnull(rowno()_field),peek(rowno()_field),rowno()_field) as&amp;nbsp;rowno()_field&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 19:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/fill-empty-values-wtih-the-last-one-not-empty/m-p/1904948#M74616</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2022-03-14T19:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: fill empty values wtih the last one not empty</title>
      <link>https://community.qlik.com/t5/App-Development/fill-empty-values-wtih-the-last-one-not-empty/m-p/1905237#M74631</link>
      <description>&lt;P&gt;Thank you very much, both are just the tip I needed. Great help for me.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 09:59:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/fill-empty-values-wtih-the-last-one-not-empty/m-p/1905237#M74631</guid>
      <dc:creator>lmenendez_grupo_pinero</dc:creator>
      <dc:date>2022-03-15T09:59:31Z</dc:date>
    </item>
  </channel>
</rss>

