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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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,

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

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
Champion III
Champion III

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.