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

WHERE clause problem in script

I have a field called ItemCode. I only want to load all items starting with 'F'.

I have problems writing the script to only load these fields. I currently have this script:

LOAD

upper(ItemCode) as ItemCode,

upper(WhsCode) as WhsCode,

OnHand

FROM H:\QvData\DOS\OITW.qvd(qvd)

WHERE ItemCode=('F*');

1 Solution

Accepted Solutions
Not applicable
Author

please put this condition

Where upper(left(ITEMCODE,1))='F'

Regards

Ashish Srivastava

View solution in original post

2 Replies
Not applicable
Author

please put this condition

Where upper(left(ITEMCODE,1))='F'

Regards

Ashish Srivastava

Not applicable
Author

Thanks for the help. This worked perfectly.