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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
kevbrown
Creator II
Creator II

Wildcard

I need to pull out certain data from a field where the code in that field begins RM, so have the expression, if(UPC='Rm*', 1) but it's not pulling anything out. How do i do a wildcard search for a chart?

Kev

Labels (1)
4 Replies
Kushal_Chawda
MVP
MVP

if(wildmatch(UPC,'Rm*'),1) as Flag

or

if( UPC like 'Rm*',1) as Flag

tamilarasu
Champion
Champion

Try this,

If(Wildmatch(UPC,'Rm*'),1)


Or

If(Left(UPC,2)='Rm',1)

sunny_talwar
MVP
MVP

Try this:

If(WildMatch(Upper(UPC), 'RM*'), 1)

or

If(Index(Upper(UPC), 'RM'), 1)

Thanks tamilarasu

trdandamudi
Master II
Master II

May be this:

= if(UPC like 'Rm*', 1)

or

=if(upper(UPC) like 'RM*', 1)