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

query

i have a requiremnt where i need to assign a numbers to the given field ,but also it shud reset if the field value changes?

by whuch command we can do that?

3 Replies
VishalWaghole
Specialist II
Specialist II

Can you please provide some test data, which will help us to understand your requirement.

antoniotiman
Master III
Master III

Hi,

You can use Autonumber() in script

LOAD *,AutoNumber(FieldA) as AutoNr Inline [
FieldA,B
A,1
A,2
A,3
B,4
B,5
B,6
]
;

Regards,

Antonio

antoniotiman
Master III
Master III

or

LOAD *,AutoNumber(RowNo(),FieldA) as AutoNr Inline [
FieldA,B
A,1
A,2
A,3
B,4
B,5
B,6
]
;