Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Qlikuser09
Creator II
Creator II

I want to match and replace all that starts and ends with "driver" to "DRIVER"

Load

"JOB" AS [Position ]
, If(
WildMatch([JOB],'*DRIVER*', 'Driver')
,[JOB]) as [Position1]

I have Positions as "motorcycle driver", MVC driver, MTR driver, i want to replace everything and name them as "DRIVER" when data load.

 

 

 

2 Replies
JuanGerardo
Partner - Specialist
Partner - Specialist

Why not use Replace():

Load
   "JOB" AS [Position ],
   Replace([JOB], 'Driver', 'DRIVER') as [Position1]

 JG

MarcoWedel

If(WildMatch(JOB,'*DRIVER*'),'DRIVER',JOB) as Position1