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: 
raadwiptec
Creator II
Creator II

start with

hi all,

how can I write on script for start with

for ex

if column country start or contains can then 'CA'

Labels (1)
3 Replies
robert_mika
MVP
MVP

Try:

if(WildMatch(Country,'*can*'),'CA') as CA,

jsingh71
Partner - Specialist
Partner - Specialist

Try:

Load

--------------------

If(Left(Country,3) = 'can', 'CA', Country) as Country,

---------------------

---------------------

Kushal_Chawda
MVP
MVP

create a field in script with below condition

if(wildmatch(lower(Country),'*can*','CA',Country) as Country