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

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

Want to know value in field when another is at maximum for current selections

Hi community,

I have a straight table that has dimension 1 and expresion 1.

The expression I want is the value in one field when another is at is max for the current selections.  Anyway I can do that?  The dimension is neither of the fields in the expression so something like:

if(date#(DATES)=max(total DATES),Status/100) doesn't work because Dates isn't my dimension

1 Reply
swuehl
MVP
MVP

Look into FirstSortedValue, which could solve your request, like

=FirstSortedValue(Status, -DATES)