<?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: Expression to Fill missing Values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-to-Fill-missing-Values/m-p/622387#M681506</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ankit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace the load statement in script with the below one, this should do the trick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Invoice, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Line Item], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(IsNull(Sales_Person_No.) = -1, Peek(Sales_Person_No.), Sales_Person_No.) AS Sales_Person_No., &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(IsNull(Sales_Person_Name) = -1, Peek(Sales_Person_Name), Sales_Person_Name) AS Sales_Person_Name, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [To Be], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [To Be1]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Jyotsna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Apr 2014 04:33:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-10T04:33:51Z</dc:date>
    <item>
      <title>Expression to Fill missing Values</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-Fill-missing-Values/m-p/622385#M681504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Guys..Gud Morning..&lt;/P&gt;&lt;P&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i have one case, in that i have to fill missing values by previous available values, as -&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="373"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" width="74"&gt;Invoice&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="64"&gt;Line Item&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="112"&gt;Sales_Person_No.&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="123"&gt;Sales_Person_Name&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;50014958&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;4570&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Sushaiv Sharad Wadekar&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;50014958&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;50014958&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;30&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;3983&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Sujit S Dixit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;50014958&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;40&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;50014958&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;50&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;50014958&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;60&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;13131&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Prashant Kumar&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;50014958&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;70&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;50014958&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;80&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;50014958&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;90&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;31313&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Ashish Goel&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;50014958&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;50014958&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;110&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;50014958&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;50014958&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;112&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &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;Sales Person for line item 20 is missing...than&amp;nbsp; it should be fill by previous line item 10, Similarly.. 40 and 50 should be fill by line item 30 Sales Person, 70 and 80 by 60 and 100,110,111,112 by 90....can anyone suggest code to fill missing value?&lt;/P&gt;&lt;P&gt;please check test attachment...&lt;/P&gt;&lt;P&gt;thanks in advance..&lt;/P&gt;&lt;P&gt;Ankit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 03:46:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-Fill-missing-Values/m-p/622385#M681504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-10T03:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to Fill missing Values</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-Fill-missing-Values/m-p/622386#M681505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 04:02:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-Fill-missing-Values/m-p/622386#M681505</guid>
      <dc:creator />
      <dc:date>2014-04-10T04:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to Fill missing Values</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-Fill-missing-Values/m-p/622387#M681506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ankit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace the load statement in script with the below one, this should do the trick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Invoice, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Line Item], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(IsNull(Sales_Person_No.) = -1, Peek(Sales_Person_No.), Sales_Person_No.) AS Sales_Person_No., &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(IsNull(Sales_Person_Name) = -1, Peek(Sales_Person_Name), Sales_Person_Name) AS Sales_Person_Name, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [To Be], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [To Be1]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Jyotsna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 04:33:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-Fill-missing-Values/m-p/622387#M681506</guid>
      <dc:creator />
      <dc:date>2014-04-10T04:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to Fill missing Values</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-Fill-missing-Values/m-p/622388#M681507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your replies..&lt;/P&gt;&lt;P&gt;i am getting issue in achieving answer when i am using loading it as excel it work..&lt;/P&gt;&lt;P&gt;but when load&amp;nbsp; qvd i am getting issue..&lt;/P&gt;&lt;P&gt;one sample qvd and qvw is attached..&lt;/P&gt;&lt;P&gt;please if you can help..&lt;/P&gt;&lt;P&gt;thank in advance..&lt;/P&gt;&lt;P&gt;ankit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 10:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-Fill-missing-Values/m-p/622388#M681507</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-10T10:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Expression to Fill missing Values</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-Fill-missing-Values/m-p/622389#M681508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks for your replies..&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;i am getting issue in achieving answer when i am using loading it as excel it work..&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;but when load&amp;nbsp; qvd i am getting issue..&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;one sample qvd and qvw is attached..&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;please if you can help..&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;thank in advance..&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ankit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 10:22:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-Fill-missing-Values/m-p/622389#M681508</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-10T10:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to Fill missing Values</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-Fill-missing-Values/m-p/622390#M681509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ankit,&lt;/P&gt;&lt;P&gt;You need to oder the field as needed and run the script.&lt;/P&gt;&lt;P&gt;use Order by coloumn1,column2... ASC or DESC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sampath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 12:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-Fill-missing-Values/m-p/622390#M681509</guid>
      <dc:creator />
      <dc:date>2014-04-10T12:22:27Z</dc:date>
    </item>
  </channel>
</rss>

