<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-Script/m-p/1604017#M445009</link>
    <description>&lt;P&gt;It's your third condition of peek('FLG') which prevents that you get 'RN' in the last record. This means you need to decide to remove this condition or to adjust it maybe with an additionally match() to query multiple values.&lt;/P&gt;&lt;P&gt;If this isn't wanted you will need to extend your logic to query which of the records is the first, n-th and/or the last.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jul 2019 06:48:37 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2019-07-19T06:48:37Z</dc:date>
    <item>
      <title>Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script/m-p/1604007#M445008</link>
      <description>&lt;P&gt;Hi Firends,&lt;/P&gt;&lt;P&gt;I have following data table together with part of data load script&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.png" style="width: 615px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15699iF16E868092235395/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_1.png" alt="Screenshot_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;From the above script a field (RNFLG) is created. Now what I want is to'RN' to record in the last record as well. To do that I want to skip the record (2nd from last) and want to match my condition with the 3rd row from last record so that all condition in my script match and last record will be marked as 'RN' . But I do not know&amp;nbsp; how to skip one record and&amp;nbsp; to peek the next record. Pls help me get my script corrected.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 06:15:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script/m-p/1604007#M445008</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2019-07-19T06:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script/m-p/1604017#M445009</link>
      <description>&lt;P&gt;It's your third condition of peek('FLG') which prevents that you get 'RN' in the last record. This means you need to decide to remove this condition or to adjust it maybe with an additionally match() to query multiple values.&lt;/P&gt;&lt;P&gt;If this isn't wanted you will need to extend your logic to query which of the records is the first, n-th and/or the last.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 06:48:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script/m-p/1604017#M445009</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-07-19T06:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script/m-p/1604019#M445010</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;But the all records and flag value should remain as it is and I want to skip the 2nd record and peek the 3rd record. Is it possible ?&amp;nbsp; If not will you suggest an alternative please.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 06:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script/m-p/1604019#M445010</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2019-07-19T06:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script/m-p/1604032#M445011</link>
      <description>&lt;P&gt;Like above mentioned you need to develop a logic which queries the order of your records. With it you could bypass this condition or you might use them to pick your wanted records - with the second parameter of peek() you could define which record should be picked.&lt;/P&gt;&lt;P&gt;Quite probably you couldn't do it with a single load - at least not querying the records and applying the information within a condition or a peek() - else you might need multiple (preceeding) loads in a chain and/or several loads which implement some kind of row-counter with autonumber(rowno(), Field1 &amp;amp; Field2) and/or query the min/max/first/last values and are then joined/mapped to the origin load/table.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 07:52:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script/m-p/1604032#M445011</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-07-19T07:52:10Z</dc:date>
    </item>
  </channel>
</rss>

