<?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: Qlik Sense - Straight Table - Restart RowNumber from 1 to x for each row in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Straight-Table-Restart-RowNumber-from-1-to-x-for-each/m-p/2543718#M109589</link>
    <description>&lt;P&gt;Data:&lt;BR /&gt;Load RecNo() as RowID,&lt;BR /&gt;If(id = Peek(id) and date = Peek(date), Peek(GroupRowID) + 1, 1) AS GroupRowID,&lt;BR /&gt;//If(id = Peek(id) and date = Peek(date) and sales = Peek(sales), Peek(GroupRowID) + 1, 1) AS GroupRowID, // Use this if you want to consider sales too, as different group&lt;BR /&gt;*;&lt;BR /&gt;Load * Inline [&lt;BR /&gt;id, date, sales&lt;BR /&gt;01, 24.02.2026, 100&lt;BR /&gt;01, 24.02.2026, 100&lt;BR /&gt;01, 24.02.2026, 100&lt;BR /&gt;01, 24.02.2026, 100&lt;BR /&gt;02, 24.02.2026, 100&lt;BR /&gt;02, 24.02.2026, 100&lt;BR /&gt;02, 24.02.2026, 200&lt;BR /&gt;]&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2543593 - RowNumber from 1 to x for each row.PNG" style="width: 680px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/187070i8F73A81EC81504C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="2543593 - RowNumber from 1 to x for each row.PNG" alt="2543593 - RowNumber from 1 to x for each row.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Feb 2026 12:40:11 GMT</pubDate>
    <dc:creator>Qrishna</dc:creator>
    <dc:date>2026-02-25T12:40:11Z</dc:date>
    <item>
      <title>Qlik Sense - Straight Table - Restart RowNumber from 1 to x for each row</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Straight-Table-Restart-RowNumber-from-1-to-x-for-each/m-p/2543593#M109570</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have straight table in the Qlik SaaS (Sense) where I have number of dimensions and one expression such as&lt;/P&gt;&lt;P&gt;Sum(Sales).&lt;/P&gt;&lt;P&gt;Now, the problem is where there is duplicate then Qlik only shows one Sum while there are more rows with the same key.&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;id, data, sales&lt;/P&gt;&lt;P&gt;01, 24.02.2026, 100&lt;/P&gt;&lt;P&gt;01, 24.02.2026, 100&lt;/P&gt;&lt;P&gt;01, 24.02.2026, 100&lt;/P&gt;&lt;P&gt;02, 24.02.2026, 100&lt;BR /&gt;02, 24.02.2026, 100&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;Now, Qlik Shows only one rows and Qlik Enginee supress the values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to show the row number for each group of rows.&lt;/P&gt;&lt;P&gt;id, data, sales, rownumber&lt;/P&gt;&lt;P&gt;01, 24.02.2026, 100, 1&lt;/P&gt;&lt;P&gt;01, 24.02.2026, 100, 2&lt;/P&gt;&lt;P&gt;01, 24.02.2026, 100, 3&lt;/P&gt;&lt;P&gt;01, 24.02.2026, 100, 4&lt;/P&gt;&lt;P&gt;02, 24.02.2026, 100, 1&lt;/P&gt;&lt;P&gt;02, 24.02.2026, 100, 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using this expression but the problem is it shows me in thousands the rownumbers while I want to restart the rownumber everytime for each new data&lt;/P&gt;&lt;P&gt;=Aggr(RowNo(TOTAL), key)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2026 08:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Straight-Table-Restart-RowNumber-from-1-to-x-for-each/m-p/2543593#M109570</guid>
      <dc:creator>profilejamesbond</dc:creator>
      <dc:date>2026-02-24T08:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Straight Table - Restart RowNumber from 1 to x for each row</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Straight-Table-Restart-RowNumber-from-1-to-x-for-each/m-p/2543598#M109572</link>
      <description>&lt;P&gt;I hope this should work.&lt;BR /&gt;&lt;BR /&gt;RawData:&lt;BR /&gt;LOAD&lt;BR /&gt;id,&lt;BR /&gt;Date(Date#(data,'DD.MM.YYYY')) AS data, // parse to date (optional)&lt;BR /&gt;Num(sales) AS sales&lt;BR /&gt;INLINE [&lt;BR /&gt;id, data, sales&lt;BR /&gt;01, 24.02.2026, 100&lt;BR /&gt;01, 24.02.2026, 100&lt;BR /&gt;01, 24.02.2026, 100&lt;BR /&gt;02, 24.02.2026, 100&lt;BR /&gt;02, 24.02.2026, 100&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;NoConcatenate&lt;BR /&gt;SortedData:&lt;BR /&gt;LOAD *&lt;BR /&gt;RESIDENT RawData&lt;BR /&gt;ORDER BY id, data, sales;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;WithCounter:&lt;BR /&gt;LOAD&lt;BR /&gt;id,&lt;BR /&gt;data,&lt;BR /&gt;sales,&lt;BR /&gt;If(id = Peek('id') and data = Peek('data') and sales = Peek('sales'),&lt;BR /&gt;Peek('RowCounter') + 1,&lt;BR /&gt;1&lt;BR /&gt;) AS RowCounter&lt;BR /&gt;RESIDENT SortedData&lt;BR /&gt;ORDER BY id, data, sales;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;FinalTable:&lt;BR /&gt;NOCONCATENATE&lt;BR /&gt;LOAD *&lt;BR /&gt;RESIDENT WithCounter;&lt;/P&gt;
&lt;P&gt;DROP TABLE RawData;&lt;BR /&gt;DROP TABLE SortedData;&lt;BR /&gt;DROP TABLE WithCounter;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2026 11:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Straight-Table-Restart-RowNumber-from-1-to-x-for-each/m-p/2543598#M109572</guid>
      <dc:creator>talebmakrani2</dc:creator>
      <dc:date>2026-02-24T11:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - Straight Table - Restart RowNumber from 1 to x for each row</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Straight-Table-Restart-RowNumber-from-1-to-x-for-each/m-p/2543718#M109589</link>
      <description>&lt;P&gt;Data:&lt;BR /&gt;Load RecNo() as RowID,&lt;BR /&gt;If(id = Peek(id) and date = Peek(date), Peek(GroupRowID) + 1, 1) AS GroupRowID,&lt;BR /&gt;//If(id = Peek(id) and date = Peek(date) and sales = Peek(sales), Peek(GroupRowID) + 1, 1) AS GroupRowID, // Use this if you want to consider sales too, as different group&lt;BR /&gt;*;&lt;BR /&gt;Load * Inline [&lt;BR /&gt;id, date, sales&lt;BR /&gt;01, 24.02.2026, 100&lt;BR /&gt;01, 24.02.2026, 100&lt;BR /&gt;01, 24.02.2026, 100&lt;BR /&gt;01, 24.02.2026, 100&lt;BR /&gt;02, 24.02.2026, 100&lt;BR /&gt;02, 24.02.2026, 100&lt;BR /&gt;02, 24.02.2026, 200&lt;BR /&gt;]&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2543593 - RowNumber from 1 to x for each row.PNG" style="width: 680px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/187070i8F73A81EC81504C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="2543593 - RowNumber from 1 to x for each row.PNG" alt="2543593 - RowNumber from 1 to x for each row.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Feb 2026 12:40:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Straight-Table-Restart-RowNumber-from-1-to-x-for-each/m-p/2543718#M109589</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2026-02-25T12:40:11Z</dc:date>
    </item>
  </channel>
</rss>

