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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Where clause with qualified fields is not working

 

I am getting the following error:  Error: Field not found - <Date>

 

QUALIFY *;
  GeoLocColSum:
 
LOAD REGION
,
     Floor(DATE) as Date
,
  "TOTAL_REQUESTS"
,
  "PASSED_REQUESTS"
,
  "FAILED_REQUESTS"
,
  ISMAXDATE
 
 
Resident GeoLocColSumTemp Where Date>$(vMaxDate)
;

It is showing the same error even if I use Where GeoLocColSum.Date>$(vMaxDate);

 

I think this is because of Qualify.

 

Your help is appreciated.

 

2 Replies
oknotsen
Master III
Master III

Based on your preceding load, the "date" field is called "DATE" not "Date", so change the where clause to this:

Where DATE >$(vMaxDate);

May you live in interesting times!
sunny_talwar

Try not to create duplicate threads

Where clause with qualified fields is not working