Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
mario-sarkis
Creator II
Creator II

where condition in a script

hey guyz please help

i have a field lets say

SEGMENT:

employee
Mass

Upper Mass

Loyal

i need to extact this field but in condition to be diffrent then employee and Mass

How can i write it in a script

1 Solution

Accepted Solutions
ashfaq_haseeb
Champion III
Champion III

Hi,

Try like this

Load * where not WildMatch(SEGMENT,'*employee*','*Mass*');

load * Inline

[

SEGMENT

employee

Mass

Upper Mass

Loyal

];

Regards

ASHFAQ

View solution in original post

4 Replies
PrashantSangle

Hi,

Can you explain in details??

Regards

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 🙂
jagan
Luminary Alumni
Luminary Alumni

Hi,

Try like this

LOAD

*

FROM DataSource

WHERE NOT WildMatch(SEGMENT, 'employee', 'Mass');

Hope this helps you.

Regards,

Jagan.

ashfaq_haseeb
Champion III
Champion III

Hi,

Try like this

Load * where not WildMatch(SEGMENT,'*employee*','*Mass*');

load * Inline

[

SEGMENT

employee

Mass

Upper Mass

Loyal

];

Regards

ASHFAQ

Not applicable

SEGMENT:

Load employee from tablename where employee <>'Mass'