Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Sxbbb
Creator III
Creator III

I need Where Max CreateDate

I need Where Max Filed ' CreateDate'

Sxbbb_0-1676955319992.png

Sxbbb_1-1676955389662.png

 

3 Replies
Aditya_Chitale
Specialist
Specialist

MaxDate:
Load
max(CreateDate) as MaxCreateDate
From [xyz.qvd](qvd);

let vMaxCReateDate=peek('MaxCreateDate',0,'MaxDate');
Drop table MaxDate;

MainTable:
load
a,
b,
CreateDate,
d,
e
From [xyz.qvd](qvd) where CreateDate='$(vMaxCReateDate)';

 

Regards,

Aditya

Sxbbb
Creator III
Creator III
Author

I tried but the data is not showing.

Sxbbb_0-1676960036305.png

 

 

Aditya_Chitale
Specialist
Specialist

Check if the field date format is same as date format in variable.

If that doesn't work ,please share sample data ?  You can jumble the numbers if you want.

Regards,

Aditya