Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
See why Qlik was named a Leader in the 2025 Gartner® Magic Quadrant™ for Augmented Data Quality Solutions: GET THE REPORT
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Rowno change sort

Hi all!

Who can help me?

I want to create a table with 3 values in it. a code like "A23.30" a text that explains the code and a count() that counts the amount of identic codes in the table.

In the table i only want the top 20 most used codes.

So i want something like this:

CodeTextCount()
A23.30explanation150
Q15.51explanation295
J61.81explanation355
etcetcetc

This is easy. My problem starts when i want to add a row number in front of the code. So i want an extra column to the left of the code column with the numberst 1 -> 20. I know RowNo() can do this. But when i add RowNo() to my expressions i can't sort count() anymore. I tried to push count() on top of the piority list in the sort tab. But when it was on top it didn't work ether.

Can somebody help me with this? how can i get a row number without lossing the sort() option on Count?

Thanks in advance to all that are willing to help!!!

4 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Can you post your document?

Not applicable
Author

sorry it has clasified data in it. I'm not allowed to share the data in the document.

What did you want to know?

alexandros17
Partner - Champion III
Partner - Champion III

You can use scramble instruction ...

Not applicable
Author

I can show you this. There i have the 4 things i want in my table. It has to sort on Count. O and i'm sorry but I installed the Dutch version and haven't got the time to uninstall and instal the English version.

Qlikview_RowNo.png