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: 
komminenianusha
Partner - Contributor III
Partner - Contributor III

Field 'and' not found error

Hi All,

I am new to qliksense while i am loading data in calendar table i have where condition like

Where
Period_Year >= $(vMinYear) and Period_Year <= $(vMaxYear) and Len(Period_Month)>1 

here i am getting error message like 'Field And not found'. Here 'and' is not a field but why i am getting this error.

See below image for error details,

Capture.PNG

Please any one help me. This is urgent.Thanks in advance.

Regards,

Anusha

 

 

 

1 Solution

Accepted Solutions
sunny_talwar

Try adding single quotes around your variable in the where statement

Where
Period_Year >= '$(vMinYear)' and Period_Year <= '$(vMaxYear)' and Len(Period_Month)>1 

View solution in original post

2 Replies
sunny_talwar

Try adding single quotes around your variable in the where statement

Where
Period_Year >= '$(vMinYear)' and Period_Year <= '$(vMaxYear)' and Len(Period_Month)>1 
komminenianusha
Partner - Contributor III
Partner - Contributor III
Author

Thank you very much Stalwar . It is working now.