Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

String Matching using loop

Just started with QlikView development.

Trying to do wild card comparison for columns in two tables. I need to list out the values that are in one column but not in another.

Tbl1

ColumnA
Alex Jan
Rob Marc
Josh Apr
Chris Feb

Tbl2

ColumnBColumnC
ChrisFeb
AlexJan
JamesMay
MikeJun

I am trying to come up with data in ColumnA but not in ColumnB and vice versa. I am putting this as the tablebox calculation condition, but it is not working, am I completely off course?

LET NrRows = NoOfRows('Tbl1');

LET NrRows2 = NoOfRows('Tbl2');

LET k = 1;

DO WHILE r<=NrRows

LET i=0;

DO WHILE i<NrRows2;

ColumnA like ColumnB&'?'&CoumnC&'*' = -1

i=i+1;

LOOP

k=k+1;

LOOP

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

Check the attached file.

Hope this will help you.

- Sridhar

View solution in original post

2 Replies
Not applicable
Author

Hi,

Check the attached file.

Hope this will help you.

- Sridhar

Not applicable
Author

Sridhar,

Thanks. This helps and I will try to do it from the load page.

Big Smile