Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Trying to return value associated with max(Table.Date)

I have 2 fields, pace and date. I'm trying to return the pace value for the highest date for a KPI chart. I can get the date by max(Table.Date), but not sure how to refer to the pace value associated with it.

In SQL I know it would be something like select pace where date = max(date).

I'm sure it's something simple, but I'm just not getting it.  Thanks in advance!

1 Solution

Accepted Solutions
sunny_talwar

Try FirstSortedValue() function

FirstSortedValue([Pace Value], -[Table.Date])

View solution in original post

2 Replies
sunny_talwar

Try FirstSortedValue() function

FirstSortedValue([Pace Value], -[Table.Date])

Anonymous
Not applicable
Author

Perfect!  Thank you Sunny!