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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sorting

Hi ,

I am getting the error as field not found for the below load statement.

LOAD DATE,S.NO,CNAME RESIDENT TABLE1 S.NO ,TIMESTAMP(DATE) ASC;

If i am removing the TIMESTAMP(DATE) then it is working fine.

DATE is STRING so if i am not converting to timestamp then order is not shown properly.

1 Reply
Not applicable
Author


XXX wrote:
... LOAD DATE,S.NO,CNAME RESIDENT TABLE1 S.NO ,TIMESTAMP(DATE) ASC;
If i am removing the TIMESTAMP(DATE) then it is working fine.

DATE is STRING so if i am not converting to timestamp then order is not shown properly.
<div></div>


Do you mean it is sorting by S.NO when you remove the timestamp?

did you miss 'ORDER BY' in the statement above?

-Karthik