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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
riyazasma1009
Creator
Creator

Autonumberhash128 and Autonumberhash256

Hi All,

Can anyone please explain the difference between autonumberhash128 and autonumberhash256. I have gone through many posts but unable to find out the exact difference between them and under what conditions/scenarios should one go for Autonumberhash128 and Autonumberhash256.

It would be great if someone could explain the exact difference between autonumber, autonumberhash128 and autonumberhash256 and also real scenarios wherein we can implement each one of them.

Thanks,

Asma

1 Reply
Chanty4u
MVP
MVP

chk dis

autonumber(expression[ , AutoID])

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.

Examples:

autonumber( Region&Year&Month )

autonumber( Region&Year&Month, 'Ctr1' )

autonumberhash128(expression {, expression})

Calculates a 128-bit hash of the combined input expression values and the returns a unique integer value for each distinct hash value encountered during the script execution. This function can be used e.g. for creating a compact memory representation of a complex key.

Example:

autonumberhash128 ( Region, Year, Month )

autonumberhash256(expression {, expression})

Calculates a 256-bit hash of the combined input expression values and returns a unique integer value for each distinct hash value encountered during the script execution. This function can be used e.g. for creating a compact memory representation of a complex key. This function is only available as a script function.

Example:

Autonumberhash256 ( Region, Year, Month )