Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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