Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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

tresesco
MVP
MVP

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