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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
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

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

create a field in script with below condition

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