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

Using Max Date in Load Scripts

I am currently using this in my load scripts but would like to pull just the MAX Snapshot date??

WHERE([SNAPSHOT_CCYYMM])>='201701'

3 Replies
Anil_Babu_Samineni

May be this

WHERE [SNAPSHOT_CCYYMM] >= '201701';

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
ahaahaaha
Partner - Master
Partner - Master

Может быть, как это

WHERE [SNAPSHOT_CCYYMM] = Max (Date (Date# ([SNAPSHOT_CCYYMM], 'YYYYММ')));

sunny_talwar

May be like this

Table:

LOAD ....,

    [SNAPSHOT_CCYYMM]

FROM ....;

Right Join (Table)

LOAD Max([SNAPSHOT_CCYYMM]) as [SNAPSHOT_CCYYMM]

Resident Table;