<?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 Row Numbering in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Row-Numbering/m-p/1955627#M1219901</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;i have the dimension: Item / Location / Lot&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;There's any way to assign the RowNo based on combination of Item/Location/Lot ? so if the combinantion of these 3 dimension change, the Row Numbering starts again from 1 ?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Thank u!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qlikviewaf_1-1657783879770.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84122i5BD0D9316D66F8A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="qlikviewaf_1-1657783879770.png" alt="qlikviewaf_1-1657783879770.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jul 2022 07:32:50 GMT</pubDate>
    <dc:creator>qlikviewaf</dc:creator>
    <dc:date>2022-07-14T07:32:50Z</dc:date>
    <item>
      <title>Row Numbering</title>
      <link>https://community.qlik.com/t5/QlikView/Row-Numbering/m-p/1955627#M1219901</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;i have the dimension: Item / Location / Lot&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;There's any way to assign the RowNo based on combination of Item/Location/Lot ? so if the combinantion of these 3 dimension change, the Row Numbering starts again from 1 ?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Thank u!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qlikviewaf_1-1657783879770.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84122i5BD0D9316D66F8A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="qlikviewaf_1-1657783879770.png" alt="qlikviewaf_1-1657783879770.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 07:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-Numbering/m-p/1955627#M1219901</guid>
      <dc:creator>qlikviewaf</dc:creator>
      <dc:date>2022-07-14T07:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Row Numbering</title>
      <link>https://community.qlik.com/t5/QlikView/Row-Numbering/m-p/1955800#M1219906</link>
      <description>&lt;P&gt;It could be done with interrecord-functions, for example:&lt;/P&gt;
&lt;P&gt;load *, &lt;BR /&gt;if(ITEM = previous(ITEM) and &lt;BR /&gt;&amp;nbsp; &amp;nbsp; LOCATION = previous(LOCATION) and &lt;BR /&gt;&amp;nbsp; &amp;nbsp; LOTN = previous(LOTN),&lt;BR /&gt;rangesum(1, peek('RowNoFlag')), 1) as&amp;nbsp;RowNoFlag&lt;BR /&gt;resident Source order by ITEM, LOCATION, LOTN;&lt;/P&gt;
&lt;P&gt;Important is to load resident with an appropriate sorting. Thinkable are also autonumber() with a recno() but this is mostly quite (too) slow.&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 10:33:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-Numbering/m-p/1955800#M1219906</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-07-14T10:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Row Numbering</title>
      <link>https://community.qlik.com/t5/QlikView/Row-Numbering/m-p/1956034#M1219916</link>
      <description>&lt;P&gt;In case you don't have too many rows/distinct combinations of your 3 key fields, then the AutoNumber solution that Marcus already mentioned could be:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;AutoNumber(RecNo(),Hash128(ITEM,LOCATION,LOTN)) as RowNo&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 16:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-Numbering/m-p/1956034#M1219916</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2022-07-14T16:21:11Z</dc:date>
    </item>
  </channel>
</rss>

