Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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.