<?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 Fill empty values with last not null values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fill-empty-values-with-last-not-null-values/m-p/1310732#M407461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to resolve this issue in load script.&lt;/P&gt;&lt;P&gt;For every ID and Task I have WorkFlow Id (min Start Date), but I need the same Workflow Id for all next empty values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried Previous and Peek function but without success.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159935_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Apr 2017 19:33:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-04-12T19:33:12Z</dc:date>
    <item>
      <title>Fill empty values with last not null values</title>
      <link>https://community.qlik.com/t5/QlikView/Fill-empty-values-with-last-not-null-values/m-p/1310732#M407461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to resolve this issue in load script.&lt;/P&gt;&lt;P&gt;For every ID and Task I have WorkFlow Id (min Start Date), but I need the same Workflow Id for all next empty values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried Previous and Peek function but without success.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159935_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 19:33:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fill-empty-values-with-last-not-null-values/m-p/1310732#M407461</guid>
      <dc:creator />
      <dc:date>2017-04-12T19:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Fill empty values with last not null values</title>
      <link>https://community.qlik.com/t5/QlikView/Fill-empty-values-with-last-not-null-values/m-p/1310733#M407462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share sample instead of image. Or look at here &lt;A href="https://community.qlik.com/thread/192359"&gt;Get previous row value when the value is null&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2017 01:27:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fill-empty-values-with-last-not-null-values/m-p/1310733#M407462</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-04-13T01:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Fill empty values with last not null values</title>
      <link>https://community.qlik.com/t5/QlikView/Fill-empty-values-with-last-not-null-values/m-p/1310734#M407463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ID,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Task,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; [Start Date],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; [End Date],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; If(Len([Workflow Id]) = 0, Peek([Workflow Id]), [Workflow Id]) as [Workflow Id]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM ....&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have not tested this as you pasted your sample data as an image.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2017 05:24:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fill-empty-values-with-last-not-null-values/m-p/1310734#M407463</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-04-13T05:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Fill empty values with last not null values</title>
      <link>https://community.qlik.com/t5/QlikView/Fill-empty-values-with-last-not-null-values/m-p/1310735#M407464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; ID,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; Task,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; [Start Date],&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; [End Date],&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; [Workflow Id]&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;FROM Source;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Final:&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;noconcatenate&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;LOAD *,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(len(trim(&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Workflow Id]&lt;/EM&gt;))=0,peek([Workflow ID]),&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Workflow Id]&lt;/EM&gt;&lt;/EM&gt;) as &lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;[Workflow ID]&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;Resident Data&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;order by &lt;/EM&gt;&lt;/EM&gt;&lt;EM style="font-family: inherit; font-weight: inherit;"&gt;ID,&lt;/EM&gt;&lt;EM style="font-family: inherit; font-weight: inherit;"&gt;Task,&lt;/EM&gt;&lt;EM style="font-family: inherit; font-weight: inherit;"&gt;[Start Date];&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-family: inherit; font-weight: inherit;"&gt;drop table Data;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2017 06:52:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fill-empty-values-with-last-not-null-values/m-p/1310735#M407464</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-04-13T06:52:16Z</dc:date>
    </item>
  </channel>
</rss>

