<?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>article Qlik Sense: RowNo on a Pivot Table in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-RowNo-on-a-Pivot-Table/ta-p/1710219</link>
    <description>&lt;P&gt;When using RowNo to count the number of rows on a Pivot Table, it doesn't seem to work because the count starts again somewhere in the middle of the table (see below),&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="the count starts again somewhere in the middle of the table.png" style="width: 555px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/52055i424FE890DB5CEE55/image-size/large?v=v2&amp;amp;px=999" role="button" title="the count starts again somewhere in the middle of the table.png" alt="the count starts again somewhere in the middle of the table.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The expected result is shown below.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="expected result.png" style="width: 549px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/52056iB74A6A22B91E0244/image-size/large?v=v2&amp;amp;px=999" role="button" title="expected result.png" alt="expected result.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise SaaS" id="qlikSenseEnterpriseSaaS"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;, any&lt;/LI&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik Sense Desktop" id="qlikSenseDesktop"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik Sense Business" id="qlikSenseBusiness"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4 class="qlik-migrated-tkb-headings"&gt;Cause:&lt;/H4&gt;
&lt;P&gt;&lt;BR /&gt;The issue occurs because RowNo() returns the number of the current row within the current column segment in a table, that is the count starts again from 1 each time the value of the first dimension changes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 class="qlik-migrated-tkb-headings"&gt;Resolution:&lt;/H4&gt;
&lt;P&gt;&lt;BR /&gt;To get the desired result we have to use the TOTAL qualifier in the RowNo() function as shown below.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="use the TOTAL qualifier in the RowNo() function.png" style="width: 550px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/52057i3A2B747669CF7DE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="use the TOTAL qualifier in the RowNo() function.png" alt="use the TOTAL qualifier in the RowNo() function.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 May 2022 19:23:50 GMT</pubDate>
    <dc:creator>Sonja_Bauernfeind</dc:creator>
    <dc:date>2022-05-10T19:23:50Z</dc:date>
    <item>
      <title>Qlik Sense: RowNo on a Pivot Table</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-RowNo-on-a-Pivot-Table/ta-p/1710219</link>
      <description>&lt;P&gt;When using RowNo to count the number of rows on a Pivot Table, it doesn't seem to work because the count starts again somewhere in the middle of the table (see below),&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="the count starts again somewhere in the middle of the table.png" style="width: 555px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/52055i424FE890DB5CEE55/image-size/large?v=v2&amp;amp;px=999" role="button" title="the count starts again somewhere in the middle of the table.png" alt="the count starts again somewhere in the middle of the table.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The expected result is shown below.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="expected result.png" style="width: 549px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/52056iB74A6A22B91E0244/image-size/large?v=v2&amp;amp;px=999" role="button" title="expected result.png" alt="expected result.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise SaaS" id="qlikSenseEnterpriseSaaS"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;, any&lt;/LI&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik Sense Desktop" id="qlikSenseDesktop"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik Sense Business" id="qlikSenseBusiness"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4 class="qlik-migrated-tkb-headings"&gt;Cause:&lt;/H4&gt;
&lt;P&gt;&lt;BR /&gt;The issue occurs because RowNo() returns the number of the current row within the current column segment in a table, that is the count starts again from 1 each time the value of the first dimension changes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 class="qlik-migrated-tkb-headings"&gt;Resolution:&lt;/H4&gt;
&lt;P&gt;&lt;BR /&gt;To get the desired result we have to use the TOTAL qualifier in the RowNo() function as shown below.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="use the TOTAL qualifier in the RowNo() function.png" style="width: 550px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/52057i3A2B747669CF7DE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="use the TOTAL qualifier in the RowNo() function.png" alt="use the TOTAL qualifier in the RowNo() function.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 19:23:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-RowNo-on-a-Pivot-Table/ta-p/1710219</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2022-05-10T19:23:50Z</dc:date>
    </item>
  </channel>
</rss>

