Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Action-Packed Learning Awaits! QlikWorld 2023. April 17 - 20 in Las Vegas: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
tma55515
Contributor II
Contributor II

equivalent of "not like"?

hi..

what is the equivalent of "not like" in the qv script?

1 Solution

Accepted Solutions
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Wild match is the only replacement for like in qlikview with some extended.

     You can use like this

     Load

          *

     From datasource

     Where not WildMatch(FieldName,'value*','value2*');

Celambarasan

View solution in original post

7 Replies
Not applicable

<>

jagan
Luminary Alumni
Luminary Alumni

Hi,

Try

WildMatch() helps in dealing situations like this.  If it returns 0 then it means that there is no match, it is similar to no like SQL.

WildMatch(FieldName, value1, value2) = 0

Regards,

Jagan.

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Wild match is the only replacement for like in qlikview with some extended.

     You can use like this

     Load

          *

     From datasource

     Where not WildMatch(FieldName,'value*','value2*');

Celambarasan

tma55515
Contributor II
Contributor II
Author

thanks everybody...i used not wildmatch(field, '*abc*')

pk
Contributor III
Contributor III

is it working in the bar chart ?

shar
Partner - Contributor
Partner - Contributor

Hi, 

The not wildmatch is not loading the data with NULL values.

Ex: 

Col A    Linecd

Apple 1

Ball    2

Null    3

If I say "NOT WILDMATCH(COLA,'Apple')"" - the result is just 2 but ideally I should be getting 2 and 3 right? 

Thank you!

LucasIsidoro
Contributor III
Contributor III

I'm from Brazil and I used your solution. Thank you.