Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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

4 Replies
Kushal_Chawda

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

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)