Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
aheavy95
Creator
Creator

Sorting based on expression doesn't work after adding "rowno(total)"

Hi all 

Ran into a small sorting problem 

In this straight table, I want to show the row number to show where stores rank among others sales wise.

 

 

aheavy95_0-1691484677630.png

But once I add the -rowno(total) measure  the sorting that is selected by the Sales column does not work as stores are being sorted by the store number instead.

How can I solve this? hopefully there is a way

aheavy95_5-1691484871980.png

Thanks!

 

 

Labels (5)
1 Reply
marcus_sommer

AFAIK each usage of rowno() will disable the sorting. You may try to replace the rowno() with rank().