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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
arusanah
Creator II
Creator II

Help with expression

I have a Table Site  as




Site

Region
EMEAWest
EMEA-NDMidwest
NDAsia
abcEurope
gfhChina

My requirement is where site ='EMEA' , it should be assigned to Region US. I tried following result but it doesnt work

load Site ,

if(Site='EMEA * ',Region='US',Region) as Region

resident Site;

please help

1 Solution

Accepted Solutions
maxgro
MVP
MVP

LOAD Site,

     if(wildmatch(Site,'EMEA*'), 'US', Region) as Region

FROM

[https://community.qlik.com/thread/168040]

(html, codepage is 1252, embedded labels, table is @1);

View solution in original post

2 Replies
maxgro
MVP
MVP

LOAD Site,

     if(wildmatch(Site,'EMEA*'), 'US', Region) as Region

FROM

[https://community.qlik.com/thread/168040]

(html, codepage is 1252, embedded labels, table is @1);

stigchel
Partner - Master
Partner - Master

Try with

if(left(site,4)='EMEA','US',Region) as Region