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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
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'

3 Replies
robert_mika
Master III
Master III

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