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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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

Labels (1)
10 Replies
sunny_talwar
MVP
MVP

Is this something you need in the script?

sunny_talwar
MVP
MVP

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
MVP
MVP

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
MVP
MVP

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