Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
madhavi_rajawat
Partner - Contributor III
Partner - Contributor III

Wild Match ()

Hi,

I have one Field Say

Number

R*14W

S43W*

ABCDE

EFGHI

i want output only ABCDE,EFGHI

10 Replies
sunny_talwar

Is this something you need in the script?

zebhashmi
Specialist
Specialist

Try this

WHERE NOT EXISTS ("*");

SQL SELECT .....;


vishsaggi
Champion III
Champion III

Or this? May be:

IF(FindOneOf(Number, '*') = 0, Number) AS NewNumber

LOAD *,

     IF(FindOneOf(Number, '*') < 1, Number) AS Values,

     FindOneOf(Number, '*') AS Num INLINE [

Number

R*14W

S43W*

ABCDE

EFGHI

];

Anonymous
Not applicable

LOAD F1 Where Index(F1,'*')=0;

LOAD * INLINE [

    F1

    R*14W

    S43W*

    ABCDE

    EFGHI

];

madhavi_rajawat
Partner - Contributor III
Partner - Contributor III
Author

Yes I want to show   value only  without *  ,Using  wildMatch Function  in Script

sunny_talwar

Try like this

Table:

LOAD * INLINE [

    Number

    R*14W

    S43W*

    ABCDE

    EFGHI

] Where Not WildMatch(Replace(Number, '*', '@'), '*@*');

Anonymous
Not applicable

it works but I still don't understand why using wildmatch() for that filter...

sunny_talwar

No idea... might be an interview question because there has been couple of request for the same scenario....