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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to generate sequence number for each item ?

Hello, dear all!

Please help with advice how to perform this.

I have a table with ITEMID and OPERATIONNUMBER.

Excel File:

[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/2117.ItemsOperations.xls:550:0]

It is sorted by ITEMID, OPERATIONUMBER.

How can I generate SEQUENCE number in third colum to look like in excel file.

Maybe it can be preformed with some loop ?

Thank you!!!

1 Solution

Accepted Solutions
Not applicable
Author

Hi Viktor,

please see my first shot.

A step forward I hope.

Good luck!

Rainer

View solution in original post

4 Replies
Not applicable
Author

Hi Viktor,

please see my first shot.

A step forward I hope.

Good luck!

Rainer

Not applicable
Author

Thanks a lot Rainer.

It works!

Maybe you can give the advice how to mark last sequnce for item as '999' ?

Thank you!

Not applicable
Author

Viktor,

maybe a better way exists to get what you want.

But it works so far.

Good luck!

Rainer

Not applicable
Author

Thanks a lot!!!

This works and it is a solution for me.

At least something.

Many thanks to you Rainer, you helped me very much!!