Qlik Community

Ask a Question

New to QlikView

If you’re new to QlikView, start with this Discussion Board and get up-to-speed quickly.

Talk to Experts Tuesday, January 26th at 10AM EST: Qlik Sense. REGISTER NOW
Showing results for 
Search instead for 
Did you mean: 
Not applicable

use of autonumber?


can anyone explain me why we go for autonumber?

if u can, give me an example?

6 Replies
Not applicable

Check the reference manual:

Returns a unique integer value for each distinct evaluated value of expression encountered during the script

execution. This function can be used e.g. for creating a compact memory representation of a complex key.

In order to create multiple counter instances if the autonumber function is used on different keys within the

script, an optional parameter AutoID can be used for naming each counter.

Also search for autonumber in the forum, there are a lot of questions about autonumber.

Often you need to create composite keys between tables, i.e. keys that are concatenations of several other keys. These composite keys are often 50-100 characters long (or more) and take up a fair amount of memory. But they are usually not displayed.

So, if you want to save some memory space, you should use the Autonumber() function on the composite keys. It replaces long strings with a short number while maintaining all information.


Not applicable

Thanks for ur explanation

Not applicable

Thanks for ur explanation

Not applicable

thanks for ur explaination

Creator II
Creator II

Is this the only reason to use autonumber ?

But I thought it will link those tables faster and getting data from other tables will be faster .. Am I right or wrong ?

Just want to know, is there any other side for autonumber.