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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
adiarnon
Creator III
Creator III

expression problem

calliddatedescription
11.1.14a
22.1.14b
25.1.14c

i want to get this table

callidlast des
1a
2c

i want to get the latest description (by date).

what should i put in the last des expression?es

1 Solution

Accepted Solutions
jagannalla
Partner - Specialist III
Partner - Specialist III

Adi Arnon,

Just load your data, make sure your date column is loading according to your system format.

In st. table: Dim as Callid and Exp as =FirstSortedValue(description,-date)

Thanks,

Jagan

View solution in original post

6 Replies
Not applicable

Hi

max(aggr(description, date)

beware date has to be under date format

best regards

chris

Not applicable

You can use the expression

MaxString(description)


jerem1234
Specialist II
Specialist II

Should be able to use firstsortedvalue(). Something like:

firstsortedvalue(description, -date)

Hope this helps!

jagannalla
Partner - Specialist III
Partner - Specialist III

Adi Arnon,

Just load your data, make sure your date column is loading according to your system format.

In st. table: Dim as Callid and Exp as =FirstSortedValue(description,-date)

Thanks,

Jagan

adiarnon
Creator III
Creator III
Author

hi,

its not working =\

what do you mean by date format?

PrashantSangle

Hi,

use this expression

MaxString(Aggr(description,date))

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂