<?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: Repeat Values Loading in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Repeat-Values-Loading/m-p/825693#M290809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right, I was doing something wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Nov 2014 16:04:11 GMT</pubDate>
    <dc:creator>vinicius_siquei</dc:creator>
    <dc:date>2014-11-26T16:04:11Z</dc:date>
    <item>
      <title>Repeat Values Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Repeat-Values-Loading/m-p/825686#M290802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm loading a table that doesn't have data for all the rows, like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DateID, Rate&lt;/P&gt;&lt;P&gt;10, 0.15&lt;/P&gt;&lt;P&gt;11, &lt;/P&gt;&lt;P&gt;12, 0.17&lt;/P&gt;&lt;P&gt;13,&lt;/P&gt;&lt;P&gt;14,&lt;/P&gt;&lt;P&gt;15, 0.38&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the rows that Column Rate is null, I must repeat last valid value.&lt;/P&gt;&lt;P&gt;I tried to do this by using previous command, However it doesn't works in cases when I have 2 null records in sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expected result is:&lt;/P&gt;&lt;P&gt;DateID, Rate&lt;/P&gt;&lt;P&gt;10, 0.15&lt;/P&gt;&lt;P&gt;11, 0.15&lt;/P&gt;&lt;P&gt;12, 0.17&lt;/P&gt;&lt;P&gt;13, 0.17&lt;/P&gt;&lt;P&gt;14, 0.17&lt;/P&gt;&lt;P&gt;15, 0.38&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideias ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 15:09:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Repeat-Values-Loading/m-p/825686#M290802</guid>
      <dc:creator>vinicius_siquei</dc:creator>
      <dc:date>2014-11-26T15:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Values Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Repeat-Values-Loading/m-p/825687#M290803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;.....,&lt;/P&gt;&lt;P&gt;if(len(trim(Rate))=0, peek(Rate), Rate) as Rate&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;resident ...&lt;/P&gt;&lt;P&gt;order by DateID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 8pt;"&gt;a:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;DateID, Rate&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;10, 0.15&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;11,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;12, 0.17&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;13,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;14,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;15, 0.38&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;b:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;NoConcatenate &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;load DateID, if(len(trim(Rate))=0, Peek(Rate), Rate) as Rate&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Resident a;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 8pt;"&gt;drop table a;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 15:13:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Repeat-Values-Loading/m-p/825687#M290803</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-11-26T15:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Values Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Repeat-Values-Loading/m-p/825688#M290804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;Try using resident load where u can put a condition on the field to replace Null !&lt;/P&gt;&lt;P&gt;Cheers !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 15:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Repeat-Values-Loading/m-p/825688#M290804</guid>
      <dc:creator />
      <dc:date>2014-11-26T15:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Values Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Repeat-Values-Loading/m-p/825689#M290805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for Quick Answer Massimo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, Peek as previous only returns the value for the rows that previous row has value.&lt;/P&gt;&lt;P&gt;By using peek I could inform the row parameter that could find n rows above a valid value.&lt;/P&gt;&lt;P&gt;However, I couldn't find a way to specify this parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 15:22:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Repeat-Values-Loading/m-p/825689#M290805</guid>
      <dc:creator>vinicius_siquei</dc:creator>
      <dc:date>2014-11-26T15:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Values Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Repeat-Values-Loading/m-p/825690#M290806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This code will work as long as you have the input data in the right order:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[DateID, Rate&lt;BR /&gt;10, 0.15&lt;BR /&gt;11, &lt;BR /&gt;12, 0.17&lt;BR /&gt;13,&lt;BR /&gt;14,&lt;BR /&gt;15, 0.38]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;Table2:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Rate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Rate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&amp;gt;0, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Rate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NewRate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NewRate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Table;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;drop&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Table; &lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/72195_Capture.PNG.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 15:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Repeat-Values-Loading/m-p/825690#M290806</guid>
      <dc:creator />
      <dc:date>2014-11-26T15:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Values Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Repeat-Values-Loading/m-p/825691#M290807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was doing something wrong Massimo. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 15:51:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Repeat-Values-Loading/m-p/825691#M290807</guid>
      <dc:creator>vinicius_siquei</dc:creator>
      <dc:date>2014-11-26T15:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Values Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Repeat-Values-Loading/m-p/825692#M290808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get this with peek, isn'it the expected result?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/72202_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 15:52:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Repeat-Values-Loading/m-p/825692#M290808</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-11-26T15:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Values Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Repeat-Values-Loading/m-p/825693#M290809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right, I was doing something wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 16:04:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Repeat-Values-Loading/m-p/825693#M290809</guid>
      <dc:creator>vinicius_siquei</dc:creator>
      <dc:date>2014-11-26T16:04:11Z</dc:date>
    </item>
  </channel>
</rss>

