Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
TomBond77
Specialist
Specialist

Where clause with NOT

Hi experts

The following where clause doesn't work. Vendor is a text field.

Thanks for any help.

Tom

Load * from

file.qvd

where (Not([Vendor] = 'Not assigned')) Or (Not([Vendor] = 'ES'))

3 Replies
Taoufiq_Zarra

@TomBond77  maye be 

Load * from

file.qvd

where( match(trim([Vendo]),'Not assigned')=0 or  match(trim([Vendo]),'ES')=0 )

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉
TomBond77
Specialist
Specialist
Author

Thanks,  but it didn' work. Meanwhile I have solved it in the loading script:

If(Not([Vendor] = 'Not assigned'), IF(Not([Vendor] = 'ES'), [Vendor])) as [Vendor],

PrashantSangle

you can both condition in one if statement also

if(not match(Vendor,'No assigned','ES'),Vendor) as Vendor.

 

in where clause

Load * from tableName

where not match(Vendor,'Not assigned','ES');

 

Regards,

Prashant Sangle

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂