Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
sijojoseph22
Creator II
Creator II

Grouping the records in pivot table

Hi All,

We are having 15 records in the attached qvw.

We need to make the  as per the screen shot. We need this to generate a report in Nprinting.
1-5 records as value 'First Five'
  6-10 records as value 'Second Five'
11-15 records as value 'Third Five'

image 2.png

Thanks,

Sijo

1 Solution

Accepted Solutions
rubenmarin

Hi Sijo, you can use this expression:

=If(RowNo(TOTAL)<=5, 'First five',

  If(RowNo(TOTAL)<=10, 'Second five',

   If(RowNo(TOTAL)<=15, 'Third five')))

View solution in original post

2 Replies
rubenmarin

Hi Sijo, you can use this expression:

=If(RowNo(TOTAL)<=5, 'First five',

  If(RowNo(TOTAL)<=10, 'Second five',

   If(RowNo(TOTAL)<=15, 'Third five')))

maximiliano_vel
Partner - Creator III
Partner - Creator III

Your records should be in order.

See attached file