Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
acbishop2
Creator
Creator

String Associated with Min() of a Different Field

Hello All,

The concept seems simple, but I can't seem to get it to work.

I have a calculated field for speed (hours and minutes), and a string field with employee names. I need to have a KPI box that returns the string name of the specialist that has the lowest average speed for a particular task. Here's the sample data:

Specialist Sample Data.JPG

I'll have a KPI box for each Task, displaying the name of the Specialist that has the lowest average speed for each task. For example, in the VOE box, the name "Teresa" should be displayed because her average speed for the task is the lowest.

I appreciate the help in advance.

Aaron

1 Solution

Accepted Solutions
maxgro
MVP
MVP

maybe

=FirstSortedValue(Specialist, aggr(avg({$ <Task={'VOE'}>} Speed),Specialist,Task))

View solution in original post

1 Reply
maxgro
MVP
MVP

maybe

=FirstSortedValue(Specialist, aggr(avg({$ <Task={'VOE'}>} Speed),Specialist,Task))