Skip to main content

Official Support Articles

Search or browse our knowledge base to find answers to your questions ranging from account questions to troubleshooting error messages. The content is curated and updated by our global Support team

Announcements
Qlik Cloud Maintenance is scheduled between March 27-30. Visit Qlik Cloud Status page for more details.

Qlik Sense: RowNo on a Pivot Table

cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

Qlik Sense: RowNo on a Pivot Table

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),

the count starts again somewhere in the middle of the table.png


The expected result is shown below.

expected result.png

Environment:

Cause:


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.

 

Resolution:


To get the desired result we have to use the TOTAL qualifier in the RowNo() function as shown below.

use the TOTAL qualifier in the RowNo() function.png

Labels (1)
Version history
Last update:
‎2022-05-10 03:23 PM
Updated by: