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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Ranking in Script

Hi,

I need help with this Rank situation (Aggr with Dimensions) and it must be made on Script (Not in set analysis).

Situation:

PlatformSiteValue
MobileEN100
MobileIL300
MobileDE150
PCEN200
PCIL400
PCDE600
CryptoEN400
CryptoIL300
CryptoDE

100

Wanted Result:

 

PlatformSiteValueRank
MobileEN1003
MobileIL3001
MobileDE1502
PCEN2003
PCIL4002
PCDE6001
CryptoEN4001
CryptoIL3002
CryptoDE1003
Labels (1)
12 Replies
Anonymous
Not applicable
Author

Geat Thanks!!!

padales1
Contributor
Contributor

Hi Sunny,

 

Could you please explain how adding 1 and 2 make this work? what is this identifier?

fabdulazeez
Partner - Creator III
Partner - Creator III

I think the autonumber  returns a unique integer value for each distinct evaluated value for entire script execution.So for the second and third time,it can encounter a similar value as the previous one. To make it different  counter instances we can add something(here 1 and 2 ) to make it distinct