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: 
prashbhosale
Contributor
Contributor

Consider space for mapstring

Dear all experts 

Need advise on below

I have company names coming in and need output as below

ABC P Ltd - - Private limited

LMNOP LTD - -  Public limited 

i. e. When it is P separate from other words then Private Limited and if it is part of other word then Public Limited 

I have applied mapstring but its working on only for first case and not other. 

Kindly suggest 

 

Labels (2)
1 Reply
micheledenardi
Specialist II
Specialist II

Is there a particular reason why you're using mappings and not a simple wildmatch?

Load
if(WildMatch(CompanyName,'* P *'),'Private Limited','Public Limited') as CompanyType
From ....
Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.