Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am trying to get max datetime value form QVD.
But it is giving blank in text object. In database the value is like below. Can anyone suggest on this issue
In qlikview
Regards,
Kumar
I got solution using below expresssion.
=purgechar(max(timestamp(timestamp#(Record_Updated_Datetime,'DD/MM/YYYY hh:mm:ss'))),'AMP')
try this
Timestamp(max(DateField),'YYYY-MM-DD hh:mm:ss')
i think your date field coming as text.
add your date field in listbox and send screen shot.
Thanks for your reply. I tried with that formula but it is not working.
Regards,
Kumar
it is coming as text . thats why it is showing " -"
I tried with below value
=max(timestamp(timestamp#(Record_Updated_Datetime,'DD/MM/YYYY hh:mm:ss'))).
But it is giving me PM at end of the value like . I want to exclude PM in that result
I don't understand how are you saying that it is text value. Can you tell me.
try this
=max(timestamp(Record_Updated_Datetime,'DD/MM/YYYY hh:mm:ss'))
I tried with that already.
I got solution using below expresssion.
=purgechar(max(timestamp(timestamp#(Record_Updated_Datetime,'DD/MM/YYYY hh:mm:ss'))),'AMP')