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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Load: Max Date-Time field

Afternoon,

I have a field (TransactionDate) that is a date and time ('DD/MM/YYYY HH:MM;SS')

I need to return the Max(TransactionDate)

At the moment the above function is not returning an answer.

The function also needs to be load script friendly.

Thank you in advance!

Cheers

Gary

Labels (1)
3 Replies
sunny_talwar

Maybe your date is not recognized as a date, Try this:

TimeStamp(TimeStamp#(TransactionDate, ''DD/MM/YYYY hh:mm:ss')) as TransactionDate

and then use Max(TransactionDate) for a numbered result or TimeStamp(Max(TransactionDate)) for Timestamp result

swuehl
Champion III
Champion III

Not applicable
Author

Thanks Guys,

School boy error...It turns out my input was text.

Thanks

Gary