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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
francescoj_albini
Contributor II
Contributor II

first, second and third classified

I have to calculate the first, second and third classified of a race based on times.  Which function can I use?

 

Best regards,

francesco

Labels (1)
5 Replies
sergio0592
Specialist III
Specialist III

Hi,

Can you share a sample?

francescoj_albini
Contributor II
Contributor II
Author

I want to know who are the first, second and third who have the lowest time,I don't know what you need more?

I have the fields name, event(race) and time of every athlete

tresB
Champion III
Champion III

Try using firstsortedvalue().

Firstsortedvalue(name, time) - first (took least time)

Firstsortedvalue(name, time, 2) - second

...

francescoj_albini
Contributor II
Contributor II
Author

sorry, i solved with fisrtsortedvalue

francescoj_albini
Contributor II
Contributor II
Author

thx, I had already found this function 2 minutes before I read you