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: 
Not applicable

In incremental load the date field is in timestamp..how to identify the max date

In incremental load the date field is in timestamp..how to identify  the max date

8 Replies
Not applicable
Author

try this

=date(max(floor(num( yourdatefield ))))

jagan
Partner - Champion III
Partner - Champion III

Hi,


To get the max date


MaxDateTable:

LOAD

Date(Floor(Max(DateDimensionName))) AS MaxDate

FROM DataSource;


LET vMaxDate = Peek('MaxDate');


DROP TABLE MaxDateTable;


Regards,

Jagan.

Anonymous
Not applicable
Author

Hi Use the below code to get the max date

=Max(Date([Date Field Name],'DD/MM/YYYY'))


Not applicable
Author

hi Bhawna Guptha,

    date field in secs how to convert dates

Thanks & Regards

Raja

Not applicable
Author

Hi Jagan,

date field in secs how to convert dates



Thanks & Regards

Raja

jagan
Partner - Champion III
Partner - Champion III

Hi,

can you post some sample dates?

Regards,

Jagan.

avinashelite

Hi Raja,

I think  its in UNIX timestamp format ...if so try like this:

timestamp((datefield/ 86400 + 25569),'DD MMM YYYY h:mm:ss[.fff] TT')) as datefield

Not applicable
Author

hi avinash,

  in windows how to convert secs to date