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: 
Not applicable

generate values grouping wise

issue.PNG

Hi ,

  I want to show serial values like above , means for each group values starting from 1 .?How can i do ,please suggest

3 Replies
sunny_talwar

May be try this:

AutoNumber(RowNo(), shade) as s_index

sunny_talwar

Sample script:

Table:

LOAD *,

  AutoNumber(RowNo(), shade) as s_index;

LOAD * Inline [

shade

A

A

A

A

A

B

B

B

B

B

];

Output:

Capture.PNG

Not applicable
Author

Thanks sunny