<?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: Forward fill the empty rows in QLik in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Forward-fill-the-empty-rows-in-QLik/m-p/1853310#M70458</link>
    <description>&lt;P&gt;You can use the peek function in load script to do this.&amp;nbsp; If you dont want to interpret blank as null, you can use if statement with '' or len = 0 instead of nullinterpret + coalesce&lt;/P&gt;
&lt;P&gt;NullInterpret = '';&lt;/P&gt;
&lt;P&gt;source_data:&lt;BR /&gt;load&lt;BR /&gt;coalesce(ID, peek(ID)) as ID&lt;BR /&gt;,coalesce(Date, peek(Date)) as Date&lt;BR /&gt;,coalesce(SEX, peek(SEX)) as SEX&lt;BR /&gt;,coalesce(AGE, peek(AGE)) as AGE&lt;BR /&gt;,coalesce(Product, peek(Product)) as Product&lt;BR /&gt;,coalesce(Purchased, peek(Purchased)) as Purchased&lt;/P&gt;
&lt;P&gt;from &lt;A href="https://community.qlik.com/t5/App-Development/Forward-fill-the-empty-rows-in-QLik/td-p/1853296" target="_blank"&gt;https://community.qlik.com/t5/App-Development/Forward-fill-the-empty-rows-in-QLik/td-p/1853296&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;(html, utf8, embedded labels, table is @1)&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;exit script;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Oct 2021 21:00:23 GMT</pubDate>
    <dc:creator>stevejoyce</dc:creator>
    <dc:date>2021-10-28T21:00:23Z</dc:date>
    <item>
      <title>Forward fill the empty rows in QLik</title>
      <link>https://community.qlik.com/t5/App-Development/Forward-fill-the-empty-rows-in-QLik/m-p/1853296#M70456</link>
      <description>&lt;P&gt;Is there a way to forward fill the empty cells with the contents from the above cell in the data load editor?&lt;/P&gt;
&lt;TABLE width="501"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;ID&lt;/TD&gt;
&lt;TD width="181"&gt;Date&lt;/TD&gt;
&lt;TD width="64"&gt;SEX&lt;/TD&gt;
&lt;TD width="64"&gt;AGE&lt;/TD&gt;
&lt;TD width="64"&gt;Product&lt;/TD&gt;
&lt;TD width="64"&gt;Purchased&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;TD&gt;07/30/2012&lt;/TD&gt;
&lt;TD&gt;F&lt;/TD&gt;
&lt;TD&gt;11&lt;/TD&gt;
&lt;TD&gt;Pen&lt;/TD&gt;
&lt;TD&gt;Yes&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;Pencil&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;Book&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;TD&gt;05/07/2012&lt;/TD&gt;
&lt;TD&gt;M&lt;/TD&gt;
&lt;TD&gt;10&lt;/TD&gt;
&lt;TD&gt;pen&lt;/TD&gt;
&lt;TD&gt;No&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;3&lt;/TD&gt;
&lt;TD&gt;01/04/2012&lt;/TD&gt;
&lt;TD&gt;F&lt;/TD&gt;
&lt;TD&gt;45&lt;/TD&gt;
&lt;TD&gt;Pen&lt;/TD&gt;
&lt;TD&gt;Yes&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;Pencil&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;Book&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;marker&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Thu, 28 Oct 2021 19:55:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Forward-fill-the-empty-rows-in-QLik/m-p/1853296#M70456</guid>
      <dc:creator>Qlikuser09</dc:creator>
      <dc:date>2021-10-28T19:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Forward fill the empty rows in QLik</title>
      <link>https://community.qlik.com/t5/App-Development/Forward-fill-the-empty-rows-in-QLik/m-p/1853310#M70458</link>
      <description>&lt;P&gt;You can use the peek function in load script to do this.&amp;nbsp; If you dont want to interpret blank as null, you can use if statement with '' or len = 0 instead of nullinterpret + coalesce&lt;/P&gt;
&lt;P&gt;NullInterpret = '';&lt;/P&gt;
&lt;P&gt;source_data:&lt;BR /&gt;load&lt;BR /&gt;coalesce(ID, peek(ID)) as ID&lt;BR /&gt;,coalesce(Date, peek(Date)) as Date&lt;BR /&gt;,coalesce(SEX, peek(SEX)) as SEX&lt;BR /&gt;,coalesce(AGE, peek(AGE)) as AGE&lt;BR /&gt;,coalesce(Product, peek(Product)) as Product&lt;BR /&gt;,coalesce(Purchased, peek(Purchased)) as Purchased&lt;/P&gt;
&lt;P&gt;from &lt;A href="https://community.qlik.com/t5/App-Development/Forward-fill-the-empty-rows-in-QLik/td-p/1853296" target="_blank"&gt;https://community.qlik.com/t5/App-Development/Forward-fill-the-empty-rows-in-QLik/td-p/1853296&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;(html, utf8, embedded labels, table is @1)&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;exit script;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 21:00:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Forward-fill-the-empty-rows-in-QLik/m-p/1853310#M70458</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-10-28T21:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Forward fill the empty rows in QLik</title>
      <link>https://community.qlik.com/t5/App-Development/Forward-fill-the-empty-rows-in-QLik/m-p/1853328#M70460</link>
      <description>&lt;P&gt;Hi, only the Account id gets filled in the below column, however rest of the column are still null&lt;/P&gt;
&lt;TABLE width="501"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="56.8958px" height="47px"&gt;ID&lt;/TD&gt;
&lt;TD width="152.865px" height="47px"&gt;Date&lt;/TD&gt;
&lt;TD width="56.8958px" height="47px"&gt;SEX&lt;/TD&gt;
&lt;TD width="56.8958px" height="47px"&gt;AGE&lt;/TD&gt;
&lt;TD width="94.6771px" height="47px"&gt;PROTECTIVE DEVICES&lt;/TD&gt;
&lt;TD width="81.7708px" height="47px"&gt;Purchased&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="56.8958px" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="152.865px" height="25px"&gt;07/30/2012&lt;/TD&gt;
&lt;TD width="56.8958px" height="25px"&gt;F&lt;/TD&gt;
&lt;TD width="56.8958px" height="25px"&gt;11&lt;/TD&gt;
&lt;TD width="94.6771px" height="25px"&gt;Pen&lt;/TD&gt;
&lt;TD width="81.7708px" height="25px"&gt;Yes&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="56.8958px" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="152.865px" height="25px"&gt;-&lt;/TD&gt;
&lt;TD width="56.8958px" height="25px"&gt;-&lt;/TD&gt;
&lt;TD width="56.8958px" height="25px"&gt;-&lt;/TD&gt;
&lt;TD width="94.6771px" height="25px"&gt;Pencil&lt;/TD&gt;
&lt;TD width="81.7708px" height="25px"&gt;-&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="56.8958px" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="152.865px" height="25px"&gt;-&lt;/TD&gt;
&lt;TD width="56.8958px" height="25px"&gt;-&lt;/TD&gt;
&lt;TD width="56.8958px" height="25px"&gt;-&lt;/TD&gt;
&lt;TD width="94.6771px" height="25px"&gt;Book&lt;/TD&gt;
&lt;TD width="81.7708px" height="25px"&gt;-&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="56.8958px" height="25px"&gt;2&lt;/TD&gt;
&lt;TD width="152.865px" height="25px"&gt;05/07/2012&lt;/TD&gt;
&lt;TD width="56.8958px" height="25px"&gt;M&lt;/TD&gt;
&lt;TD width="56.8958px" height="25px"&gt;10&lt;/TD&gt;
&lt;TD width="94.6771px" height="25px"&gt;pen&lt;/TD&gt;
&lt;TD width="81.7708px" height="25px"&gt;No&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="56.8958px" height="25px"&gt;3&lt;/TD&gt;
&lt;TD width="152.865px" height="25px"&gt;01/04/2012&lt;/TD&gt;
&lt;TD width="56.8958px" height="25px"&gt;F&lt;/TD&gt;
&lt;TD width="56.8958px" height="25px"&gt;45&lt;/TD&gt;
&lt;TD width="94.6771px" height="25px"&gt;Pen&lt;/TD&gt;
&lt;TD width="81.7708px" height="25px"&gt;Yes&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="56.8958px" height="25px"&gt;3&lt;/TD&gt;
&lt;TD width="152.865px" height="25px"&gt;-&lt;/TD&gt;
&lt;TD width="56.8958px" height="25px"&gt;-&lt;/TD&gt;
&lt;TD width="56.8958px" height="25px"&gt;-&lt;/TD&gt;
&lt;TD width="94.6771px" height="25px"&gt;Pencil&lt;/TD&gt;
&lt;TD width="81.7708px" height="25px"&gt;-&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="56.8958px" height="25px"&gt;3&lt;/TD&gt;
&lt;TD width="152.865px" height="25px"&gt;-&lt;/TD&gt;
&lt;TD width="56.8958px" height="25px"&gt;-&lt;/TD&gt;
&lt;TD width="56.8958px" height="25px"&gt;-&lt;/TD&gt;
&lt;TD width="94.6771px" height="25px"&gt;Book&lt;/TD&gt;
&lt;TD width="81.7708px" height="25px"&gt;-&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="56.8958px" height="25px"&gt;3&lt;/TD&gt;
&lt;TD width="152.865px" height="25px"&gt;-&lt;/TD&gt;
&lt;TD width="56.8958px" height="25px"&gt;-&lt;/TD&gt;
&lt;TD width="56.8958px" height="25px"&gt;-&lt;/TD&gt;
&lt;TD width="94.6771px" height="25px"&gt;marker&lt;/TD&gt;
&lt;TD width="81.7708px" height="25px"&gt;-&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Thu, 28 Oct 2021 23:55:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Forward-fill-the-empty-rows-in-QLik/m-p/1853328#M70460</guid>
      <dc:creator>Qlikuser09</dc:creator>
      <dc:date>2021-10-28T23:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Forward fill the empty rows in QLik</title>
      <link>https://community.qlik.com/t5/App-Development/Forward-fill-the-empty-rows-in-QLik/m-p/1853880#M70498</link>
      <description>&lt;P&gt;Can you share your script you used.&amp;nbsp; Otherwise then it must not be recognizing your empty rows as null.&lt;/P&gt;
&lt;P&gt;You can try&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;,if(len(trim(Date))&amp;gt;0,Date, peek(Date)) as Date&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;repeat for each column.&amp;nbsp; see if that helps.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Oct 2021 19:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Forward-fill-the-empty-rows-in-QLik/m-p/1853880#M70498</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-10-30T19:01:18Z</dc:date>
    </item>
  </channel>
</rss>

