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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
manpri7078
Creator
Creator

Date Lookup

Hi All,

I have a QV Document, showing Date Wise LME Data. I have created a TextBox object showing the Minimum or Maximum LME for a given Date range by using min() and max() function. Now I want to show in another TextBox object on which Date that miniumum LME was or maximum LME was.

I am not able to work out how to do that ?

Regards,

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try using the FirstSortedValue() function:

=FirstSortedValue(Date, LME)

for the Date of min LME (assuming a numeric LME value), and

=FirstSortedValue(Date, -LME)

for the Date of max LME.

View solution in original post

1 Reply
swuehl
MVP
MVP

Try using the FirstSortedValue() function:

=FirstSortedValue(Date, LME)

for the Date of min LME (assuming a numeric LME value), and

=FirstSortedValue(Date, -LME)

for the Date of max LME.