Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
Why not use Replace():
Load
"JOB" AS [Position ],
Replace([JOB], 'Driver', 'DRIVER') as [Position1]
JG
If(WildMatch(JOB,'*DRIVER*'),'DRIVER',JOB) as Position1