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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Rank in Load Script

Hi Geeks,

I have been working so long in assigning the rank to one of my column at the modeling level. I have tried the following expression in the straight table and is working perfectly but I want to implement the same in the Backend.

Expression: =aggr(rank(UpTime,4),Hrs,DATE,UpTime,HostName)

please find the below straight table

DATEHrsHostNameUpTimeRank
27-02-201700A0.982
27-02-201700B11-2
27-02-201700C11-2
27-02-201700D0.973
27-02-201701A0.982-2
27-02-201701B11
27-02-201701C0.982-2
27-02-201702A0.972
27-02-201702B0.981

Kindly help me with the Logic how this can be implemented.

Thanks.

2 Replies
Anonymous
Not applicable
Author

hi

Try this expression:

aggr((rank(UpTime,4),Hrs,DATE,UpTime,HostName),0,1)

sunny_talwar

So, you would like to see 1-2, and 2-2 as rank from back end scripting also?