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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
userid128223
Creator
Creator

script reduce to max data only

I have file like attached. i need to select reduce data during script to max date.

Result will be:

2017-05-29 10:25:32:238Chemistry3Cafd
2 Replies
neelamsaroha157
Specialist II
Specialist II

Check this.

This will fetch you data for the max date.

Digvijay_Singh

Data:

Load

  Timestamp(Max(Date)) as Date,

  FirstSortedValue(Class,-Date) as Class,

  FirstSortedValue(Grade,-Date) as Grade,

  FirstSortedValue(Teacher,-Date)  as Teacher,

  FirstSortedValue(Notes,-Date) as Notes;

LOAD

  Timestamp(Timestamp#(Date,'YYYY-MM-DD hh:mm:ss:fff'),'YYYY-MM-DD hh:mm:ss:fff') as Date,

  Class,

  Grade,

  Teacher,

  Notes

FROM

firstsortedValuedata.xlsx

(ooxml, embedded labels, table is Sheet1);