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: 
Tami
Contributor III
Contributor III

Add Row Count to Chart in Qlik Sense

We are trying to create a column in a chart that will assign a number to each order in a chart. 

There may be multiple lines on each order. Goal would be to start with 1 for first order. This Order may have 1,2,.....20 lines. 

When the next order is shown in report, column will display 2. This will continue for all orders in the chart. 

The orders are sorted by Order, then Order Line No.

I have tried to accomplish this a number of ways but come up empty.  Thanks in advance for any suggestions. 

Labels (2)
2 Replies
Ivan_Bozov
Luminary
Luminary

Sound like you need to use RANK(), e.g.

RANK(TOTAL Order, 1, 1)

 

vizmind.eu
Saravanan_Desingh

Did you try AutoNumber in the Script?

Can you show some sample and expected output?