<?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: Replace Null with Repeating Values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Replace-Null-with-Repeating-Values/m-p/2475279#M100103</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/193794"&gt;@ISK&lt;/a&gt;&amp;nbsp; try below&lt;/P&gt;
&lt;P&gt;If(Len(Trim(Aggr_Qty))=0, &lt;FONT color="#339966"&gt;peek('Aggr_Qty2'),&amp;nbsp;&lt;FONT color="#000000"&gt;Aggr_Qty&lt;/FONT&gt;&lt;/FONT&gt;) as &lt;FONT color="#339966"&gt;Aggr_Qty2&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2024 10:54:22 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2024-08-08T10:54:22Z</dc:date>
    <item>
      <title>Replace Null with Repeating Values</title>
      <link>https://community.qlik.com/t5/App-Development/Replace-Null-with-Repeating-Values/m-p/2475243#M100095</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;I have created a table with this line of code:&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Final2:&lt;BR /&gt;Load&lt;BR /&gt;BSPL_Inventory_Material_Number,&lt;BR /&gt;BSPL_Posting_Date_Monthname,&lt;BR /&gt;Aggr_Qty,&lt;BR /&gt;If(Len(Aggr_Qty)&amp;gt;0, Aggr_Qty,peek('Aggr_Qty')) as Aggr_Qty2&lt;/P&gt;
&lt;P&gt;Resident Dates order by BSPL_Inventory_Material_Number,BSPL_Posting_Date_Monthname;&lt;BR /&gt;Drop Table Dates;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's the output:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ISK_0-1723104319172.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/170373iEEFF475823C8AEAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ISK_0-1723104319172.png" alt="ISK_0-1723104319172.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For each Material there are all months from Dec 2010 till Aug 2024. Aggr_Qty is only present for those months where posting was done. Now I want to do such that between each posting value i.e Aggr_Qty, the previous value should be repeated till the next Non-null Value. For that I created Aggr_Qty2 (check the code above). For some reason it is working but the value is only repeating for only the next row in order and not all rows. How to solve this?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 08:10:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Replace-Null-with-Repeating-Values/m-p/2475243#M100095</guid>
      <dc:creator>ISK</dc:creator>
      <dc:date>2024-08-08T08:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Null with Repeating Values</title>
      <link>https://community.qlik.com/t5/App-Development/Replace-Null-with-Repeating-Values/m-p/2475279#M100103</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/193794"&gt;@ISK&lt;/a&gt;&amp;nbsp; try below&lt;/P&gt;
&lt;P&gt;If(Len(Trim(Aggr_Qty))=0, &lt;FONT color="#339966"&gt;peek('Aggr_Qty2'),&amp;nbsp;&lt;FONT color="#000000"&gt;Aggr_Qty&lt;/FONT&gt;&lt;/FONT&gt;) as &lt;FONT color="#339966"&gt;Aggr_Qty2&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 10:54:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Replace-Null-with-Repeating-Values/m-p/2475279#M100103</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2024-08-08T10:54:22Z</dc:date>
    </item>
  </channel>
</rss>

