Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

Question about wildmatch or like

Hi,

I am trying to use a where-clause in a resident load where I want to keep all values where column A is like column B

 

Result_Table:

Load

PathName,

FileName

resident YadaYada

where PathName like FileName;

Now that works well, but not when I try to use wildcards.

I have tried Wildmatch as well but it doesnot work.

I have tried

Load

PathName,

FileName

resident YadaYada

where PathName like '*FileName*';

But that does not work cause QlikView doesnot recognize FileName when it is inside '*

So, does this work and what is the correct syntax in that case?

Kind regards

1 Solution

Accepted Solutions
MVP
MVP

Re: Question about wildmatch or like

Try something like

where PathName like '*' & FileName & '*';

2 Replies
MVP
MVP

Re: Question about wildmatch or like

Try something like

where PathName like '*' & FileName & '*';

Not applicable

Re: Question about wildmatch or like

Thanks alot..!!!

Community Browser