Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

"Where not equal" not working in script load

I'm creating a table (let's say table "temp") and then concatenating on to temp using data from another source in my script load. In the concatenate() load, I use a where clause to tell QV not to pick up any rows where there is a "Total" string of any sort in column 1 (using where <> '*Total*'). My script looks like below:

Temp:

Load

     some data...

     ...

From source1;

Concatenate(Temp)

Load

     Additional data...

     ...

From source2

WHERE Field1 <> '*Total*';

For some reason, the script is ALWAYS loading the "Total" rows. If I change it to  WHERE Field1 = '*Total*' the NONE of the line items from source2 will load. Any ideas why this is the case?

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try

From source2

WHERE not Field1 like '*Total*';

View solution in original post

3 Replies
swuehl
MVP
MVP

Try

From source2

WHERE not Field1 like '*Total*';

maxgro
MVP
MVP

try with

WHERE not wildmatch(Field1, '*Total*')

Not applicable
Author

Wow... so simple. I knew this was elementary. Thanks for the help!