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

Position of field based on another one in script

Hi,

thanks in advance for helping! I'm trying to achieve the following in my script...The last field on the right is what I would like. in the example, Jim is contact #1 for Store A, and Joe is #2 for the same store. As I load my contacts, how can I assign a position? Autonumber? RecNo? thanks!

  

StoreContactWanted field
AJim1
AJoe2
AJane3
BJack1
BJuliet2
CJared1
CJune2
1 Solution

Accepted Solutions
maxgro
MVP
MVP

LOAD Store,

     Contact,

     [Wanted field],

     AutoNumber(Contact, Store)

FROM

[https://community.qlik.com/thread/169219]

(html, codepage is 1252, embedded labels, table is @1);

View solution in original post

1 Reply
maxgro
MVP
MVP

LOAD Store,

     Contact,

     [Wanted field],

     AutoNumber(Contact, Store)

FROM

[https://community.qlik.com/thread/169219]

(html, codepage is 1252, embedded labels, table is @1);