<?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: Load Script Case in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-Script-Case/m-p/114828#M752960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Enable transformation Step in the Load Script Wizard&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Column Tab-New...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Source Column-1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Replace Null Value with Previous Value-check&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Cells from these rows... Press a button&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;select Compare with value&lt;/P&gt;&lt;P&gt;Column-1 equal to value is 'Animal'&lt;/P&gt;&lt;P&gt;Condition&amp;nbsp; Press Add button &lt;/P&gt;&lt;P&gt;OK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will repeat three types, three columns, four columns, and five column values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand English well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Oct 2018 08:30:35 GMT</pubDate>
    <dc:creator>chakiw5</dc:creator>
    <dc:date>2018-10-18T08:30:35Z</dc:date>
    <item>
      <title>Load Script Case</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Case/m-p/114827#M752959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Scripting Master,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible if I have a data like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Q1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/216188_Q1.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;What load script should I use to produce output like this?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Q2.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/216189_Q2.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Thank you for any of your solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Case/m-p/114827#M752959</guid>
      <dc:creator>dennysetiawan</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script Case</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Case/m-p/114828#M752960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Enable transformation Step in the Load Script Wizard&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Column Tab-New...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Source Column-1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Replace Null Value with Previous Value-check&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Cells from these rows... Press a button&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;select Compare with value&lt;/P&gt;&lt;P&gt;Column-1 equal to value is 'Animal'&lt;/P&gt;&lt;P&gt;Condition&amp;nbsp; Press Add button &lt;/P&gt;&lt;P&gt;OK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will repeat three types, three columns, four columns, and five column values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand English well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 08:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Case/m-p/114828#M752960</guid>
      <dc:creator>chakiw5</dc:creator>
      <dc:date>2018-10-18T08:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script Case</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Case/m-p/114829#M752961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer. But I think there is not kind of transformation.&lt;/P&gt;&lt;P&gt;In my sample data and output, there is no change in the number or format of the field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 08:42:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Case/m-p/114829#M752961</guid>
      <dc:creator>dennysetiawan</dc:creator>
      <dc:date>2018-10-18T08:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script Case</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Case/m-p/114830#M752962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this? PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Original:&lt;/P&gt;&lt;P&gt;(Your Table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(isNull(NoteCat), Peek('NoteCat'), NoteCat) as NoteCat,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Note,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date;&lt;/P&gt;&lt;P&gt;LOAD Note,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Len(Trim(Date)) = 0, Note) as NoteCat&lt;/P&gt;&lt;P&gt;Resident Original&lt;/P&gt;&lt;P&gt;Where Len(Trim(Note)) &amp;gt; 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table Original;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NoteCat &amp;amp; ' - ' &amp;amp; Note as Note,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date&lt;/P&gt;&lt;P&gt;Resident Temp1&lt;/P&gt;&lt;P&gt;Where NoteCat &amp;lt;&amp;gt; Note;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table Temp1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Temp1, I used a preceding load to first load in a table with If(Len(Trim(Date)) = 0, Note) as NoteCat. This creates a table with the original 2 fields and a field that uses the Note for NoteCat if the Date field is empty for that row. The Where clause also gets rid of the blank rows. Next, still in Temp1, I load all fields from that, replacing all null values in NoteCat with the most recent non null NoteCat. So Temp1 has fields NoteCat, Note, and Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next I just needed to combine the NoteCat and Note fields where NoteCat and Note aren't the same. This leaves the table you wanted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this works for you, if not let me know &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 09:47:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Case/m-p/114830#M752962</guid>
      <dc:creator>jensmunnichs</dc:creator>
      <dc:date>2018-10-18T09:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script Case</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Case/m-p/114831#M752963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I expected.&lt;/P&gt;&lt;P&gt;Thank you Jens.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 03:12:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Case/m-p/114831#M752963</guid>
      <dc:creator>dennysetiawan</dc:creator>
      <dc:date>2018-10-19T03:12:50Z</dc:date>
    </item>
  </channel>
</rss>

